diff --git a/diracx-client/src/diracx/client/_serialization.py b/diracx-client/src/diracx/client/_serialization.py index 615a169a6..f5c9e575c 100644 --- a/diracx-client/src/diracx/client/_serialization.py +++ b/diracx-client/src/diracx/client/_serialization.py @@ -379,7 +379,7 @@ def as_dict( key_transformer: Callable[ [str, Dict[str, Any], Any], Any ] = attribute_transformer, - **kwargs: Any + **kwargs: Any, ) -> JSON: """Return a dict that can be serialized using json.dump. @@ -2060,7 +2060,7 @@ def deserialize_rfc(attr): *parsed_date[:6], tzinfo=_FixedOffset( datetime.timedelta(minutes=(parsed_date[9] or 0) / 60) - ) + ), ) if not date_obj.tzinfo: date_obj = date_obj.astimezone(tz=TZ_UTC) diff --git a/diracx-client/src/diracx/client/aio/operations/_operations.py b/diracx-client/src/diracx/client/aio/operations/_operations.py index 49e113bc2..674864f24 100644 --- a/diracx-client/src/diracx/client/aio/operations/_operations.py +++ b/diracx-client/src/diracx/client/aio/operations/_operations.py @@ -580,7 +580,7 @@ async def authorization_flow( redirect_uri: str, scope: str, state: str, - **kwargs: Any + **kwargs: Any, ) -> Any: """Authorization Flow. @@ -791,7 +791,7 @@ async def serve_config( *, if_none_match: Optional[str] = None, if_modified_since: Optional[str] = None, - **kwargs: Any + **kwargs: Any, ) -> Any: """Serve Config. @@ -947,7 +947,7 @@ async def initiate_sandbox_upload( body: _models.SandboxInfo, *, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> _models.SandboxUploadResponse: """Initiate Sandbox Upload. @@ -1410,7 +1410,7 @@ async def set_job_status_bulk( *, force: bool = False, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> Dict[str, _models.SetJobStatusReturn]: """Set Job Status Bulk. @@ -1435,7 +1435,7 @@ async def set_job_status_bulk( *, force: bool = False, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> Dict[str, _models.SetJobStatusReturn]: """Set Job Status Bulk. @@ -1459,7 +1459,7 @@ async def set_job_status_bulk( body: Union[Dict[str, Dict[str, _models.JobStatusUpdate]], IO], *, force: bool = False, - **kwargs: Any + **kwargs: Any, ) -> Dict[str, _models.SetJobStatusReturn]: """Set Job Status Bulk. @@ -1704,7 +1704,7 @@ async def search( page: int = 0, per_page: int = 100, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> List[JSON]: """Search. @@ -1734,7 +1734,7 @@ async def search( page: int = 0, per_page: int = 100, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> List[JSON]: """Search. @@ -1763,7 +1763,7 @@ async def search( *, page: int = 0, per_page: int = 100, - **kwargs: Any + **kwargs: Any, ) -> List[JSON]: """Search. @@ -1850,7 +1850,7 @@ async def summary( body: _models.JobSummaryParams, *, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> Any: """Summary. @@ -2242,7 +2242,7 @@ async def set_single_job_status( *, force: bool = False, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> Dict[str, _models.SetJobStatusReturn]: """Set Single Job Status. @@ -2270,7 +2270,7 @@ async def set_single_job_status( *, force: bool = False, content_type: str = "application/json", - **kwargs: Any + **kwargs: Any, ) -> Dict[str, _models.SetJobStatusReturn]: """Set Single Job Status. @@ -2297,7 +2297,7 @@ async def set_single_job_status( body: Union[Dict[str, _models.JobStatusUpdate], IO], *, force: bool = False, - **kwargs: Any + **kwargs: Any, ) -> Dict[str, _models.SetJobStatusReturn]: """Set Single Job Status. diff --git a/diracx-client/src/diracx/client/models/_models.py b/diracx-client/src/diracx/client/models/_models.py index 7d997f8af..a9ab9034c 100644 --- a/diracx-client/src/diracx/client/models/_models.py +++ b/diracx-client/src/diracx/client/models/_models.py @@ -62,7 +62,7 @@ def __init__( redirect_uri: Optional[str] = None, code_verifier: Optional[str] = None, refresh_token: Optional[str] = None, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword grant_type: OAuth2 Grant type. Required. @@ -193,7 +193,7 @@ def __init__( verification_uri_complete: str, verification_uri: str, expires_in: int, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword user_code: User Code. Required. @@ -251,7 +251,7 @@ def __init__( status: str, minor_status: str, time_stamp: datetime.datetime, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword job_id: Jobid. Required. @@ -297,7 +297,7 @@ def __init__( search: List["_models.JobSearchParamsSearchItem"] = [], sort: List["_models.SortSpec"] = [], distinct: bool = False, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword parameters: Parameters. @@ -369,7 +369,7 @@ def __init__( application_status: str, status_time: datetime.datetime, status_source: str, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword status: An enumeration. Required. Known values are: "Submitting", "Received", @@ -422,7 +422,7 @@ def __init__( minor_status: Optional[str] = None, application_status: Optional[str] = None, status_source: str = "Unknown", - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword status: An enumeration. Known values are: "Submitting", "Received", "Checking", @@ -468,7 +468,7 @@ def __init__( *, grouping: List[str], search: List["_models.JobSummaryParamsSearchItem"] = [], - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword grouping: Grouping. Required. @@ -524,7 +524,7 @@ def __init__( status: Union[str, "_models.JobStatus"], minor_status: str, application_status: str, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword status: An enumeration. Required. Known values are: "Submitting", "Received", @@ -639,7 +639,7 @@ def __init__( checksum: str, size: int, format: Union[str, "_models.SandboxFormat"], - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword checksum_algorithm: An enumeration. Required. "sha256" @@ -687,7 +687,7 @@ def __init__( pfn: str, url: Optional[str] = None, fields: Optional[Dict[str, str]] = None, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword pfn: Pfn. Required. @@ -735,7 +735,7 @@ def __init__( parameter: str, operator: Union[str, "_models.ScalarSearchOperator"], value: "_models.ScalarSearchSpecValue", - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword parameter: Parameter. Required. @@ -803,7 +803,7 @@ def __init__( start_exec_time: Optional[datetime.datetime] = None, end_exec_time: Optional[datetime.datetime] = None, last_update_time: Optional[datetime.datetime] = None, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword status: An enumeration. Known values are: "Submitting", "Received", "Checking", @@ -954,7 +954,7 @@ def __init__( expires_in: int, token_type: str = "Bearer", refresh_token: Optional[str] = None, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword access_token: Access Token. Required. @@ -1014,7 +1014,7 @@ def __init__( dirac_group: str, properties: List[str], preferred_username: str, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword sub: Sub. Required. @@ -1067,7 +1067,7 @@ def __init__( loc: List["_models.ValidationErrorLocItem"], msg: str, type: str, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword loc: Location. Required. @@ -1124,7 +1124,7 @@ def __init__( parameter: str, operator: Union[str, "_models.VectorSearchOperator"], values: "_models.VectorSearchSpecValues", - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword parameter: Parameter. Required. @@ -1181,7 +1181,7 @@ def __init__( groups: Dict[str, "_models.GroupInfo"], support: "_models.SupportInfo", default_group: str, - **kwargs: Any + **kwargs: Any, ) -> None: """ :keyword groups: Groups. Required.