Skip to content

Commit c092553

Browse files
committed
qa
1 parent add733e commit c092553

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

cacholote/config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ class Settings(pydantic_settings.BaseSettings):
5757
expiration: Optional[datetime.datetime] = None
5858
tag: Optional[str] = None
5959
return_cache_entry: bool = False
60-
logger: Union[
61-
structlog.BoundLogger, structlog._config.BoundLoggerLazyProxy
62-
] = _DEFAULT_LOGGER
60+
logger: Union[structlog.BoundLogger, structlog._config.BoundLoggerLazyProxy] = (
61+
_DEFAULT_LOGGER
62+
)
6363
lock_timeout: Optional[float] = None
6464

6565
@pydantic.field_validator("create_engine_kwargs")

cacholote/extra_encoders.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ def decode_xr_object(
198198
storage_options: dict[str, Any],
199199
xr_type: Literal["DataArray"],
200200
**kwargs: Any,
201-
) -> xr.DataArray:
202-
...
201+
) -> xr.DataArray: ...
203202

204203

205204
@overload
@@ -208,8 +207,7 @@ def decode_xr_object(
208207
storage_options: dict[str, Any],
209208
xr_type: Literal["Dataset"],
210209
**kwargs: Any,
211-
) -> xr.Dataset:
212-
...
210+
) -> xr.Dataset: ...
213211

214212

215213
@_requires_xarray_and_dask

0 commit comments

Comments
 (0)