diff --git a/src/sfapi_client/_async/client.py b/src/sfapi_client/_async/client.py index 81e2d51..1708185 100644 --- a/src/sfapi_client/_async/client.py +++ b/src/sfapi_client/_async/client.py @@ -516,5 +516,6 @@ def resources(self) -> AsyncResources: # Ensure that the job models are built, we need to import here to # avoid circular imports from .jobs import AsyncJobSacct, AsyncJobSqueue + AsyncJobSqueue.model_rebuild() -AsyncJobSacct.model_rebuild() \ No newline at end of file +AsyncJobSacct.model_rebuild() diff --git a/src/sfapi_client/_async/paths.py b/src/sfapi_client/_async/paths.py index febb8c4..e4e49ec 100644 --- a/src/sfapi_client/_async/paths.py +++ b/src/sfapi_client/_async/paths.py @@ -165,7 +165,10 @@ async def download(self, binary=False) -> IO[AnyStr]: @staticmethod async def _ls( - compute: "Compute", path, directory=False, filter_dots=True # noqa: F821 + compute: "Compute", + path, + directory=False, + filter_dots=True, # noqa: F821 ) -> List["RemotePath"]: # noqa: F821 r = await compute.client.get(f"utilities/ls/{compute.name}/{path}") diff --git a/src/sfapi_client/_async/users.py b/src/sfapi_client/_async/users.py index adb6241..8f35b3f 100644 --- a/src/sfapi_client/_async/users.py +++ b/src/sfapi_client/_async/users.py @@ -31,7 +31,8 @@ class AsyncUser(UserBase): @staticmethod @check_auth async def _fetch_user( - client: "AsyncClient", username: Optional[str] = None # noqa: F821 + client: "AsyncClient", + username: Optional[str] = None, # noqa: F821 ): # noqa: F821 url = "account/" if username is not None: