File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed
diracx-client/src/diracx/client/_generated/operations
extensions/gubbins/gubbins-client/src/gubbins/client/_generated/operations Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3067,7 +3067,7 @@ class PilotOperations:
30673067
30683068 models = _models
30693069
3070- def __init__ (self , * args , ** kwargs ):
3070+ def __init__ (self , * args , ** kwargs ) -> None :
30713071 input_args = list (args )
30723072 self ._client : PipelineClient = (
30733073 input_args .pop (0 ) if input_args else kwargs .pop ("client" )
Original file line number Diff line number Diff line change 1010 JOB_ADMINISTRATOR ,
1111 NORMAL_USER ,
1212)
13- from diracx .db .sql import JobDB , PilotAgentsDB , SandboxMetadataDB
13+ from diracx .db .sql import JobDB , SandboxMetadataDB
1414from diracx .routers .access_policies import BaseAccessPolicy
1515from diracx .routers .utils .users import AuthorizedUserInfo
1616
@@ -44,7 +44,6 @@ async def policy(
4444 / ,
4545 * ,
4646 action : ActionType | None = None ,
47- pilot_db : PilotAgentsDB | None = None ,
4847 job_db : JobDB | None = None ,
4948 job_ids : list [int ] | None = None ,
5049 ):
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ def test_set_job_status_cannot_make_impossible_transitions(
154154 ]
155155 },
156156 )
157-
158157 assert r .status_code == 200 , r .json ()
159158 assert r .json ()[0 ]["JobID" ] == valid_job_id
160159 assert r .json ()[0 ]["Status" ] == JobStatus .RECEIVED .value
Original file line number Diff line number Diff line change @@ -3304,7 +3304,7 @@ class PilotOperations:
33043304
33053305 models = _models
33063306
3307- def __init__ (self , * args , ** kwargs ):
3307+ def __init__ (self , * args , ** kwargs ) -> None :
33083308 input_args = list (args )
33093309 self ._client : PipelineClient = (
33103310 input_args .pop (0 ) if input_args else kwargs .pop ("client" )
You can’t perform that action at this time.
0 commit comments