(
dates: T_DuckArray, # type: ignore[misc]
units: str,
calendar: str,
dtype: np.dtype,
)
| 1190 | |
| 1191 | |
| 1192 | def _encode_cf_datetime_within_map_blocks( |
| 1193 | dates: T_DuckArray, # type: ignore[misc] |
| 1194 | units: str, |
| 1195 | calendar: str, |
| 1196 | dtype: np.dtype, |
| 1197 | ) -> T_DuckArray: |
| 1198 | num, *_ = _eagerly_encode_cf_datetime( |
| 1199 | dates, units, calendar, dtype, allow_units_modification=False |
| 1200 | ) |
| 1201 | return num |
| 1202 | |
| 1203 | |
| 1204 | def _lazily_encode_cf_datetime( |
nothing calls this directly
no test coverage detected
searching dependent graphs…