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:
3067
3067
3068
3068
models = _models
3069
3069
3070
- def __init__ (self , * args , ** kwargs ):
3070
+ def __init__ (self , * args , ** kwargs ) -> None :
3071
3071
input_args = list (args )
3072
3072
self ._client : PipelineClient = (
3073
3073
input_args .pop (0 ) if input_args else kwargs .pop ("client" )
Original file line number Diff line number Diff line change 10
10
JOB_ADMINISTRATOR ,
11
11
NORMAL_USER ,
12
12
)
13
- from diracx .db .sql import JobDB , PilotAgentsDB , SandboxMetadataDB
13
+ from diracx .db .sql import JobDB , SandboxMetadataDB
14
14
from diracx .routers .access_policies import BaseAccessPolicy
15
15
from diracx .routers .utils .users import AuthorizedUserInfo
16
16
@@ -44,7 +44,6 @@ async def policy(
44
44
/ ,
45
45
* ,
46
46
action : ActionType | None = None ,
47
- pilot_db : PilotAgentsDB | None = None ,
48
47
job_db : JobDB | None = None ,
49
48
job_ids : list [int ] | None = None ,
50
49
):
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ def test_set_job_status_cannot_make_impossible_transitions(
154
154
]
155
155
},
156
156
)
157
-
158
157
assert r .status_code == 200 , r .json ()
159
158
assert r .json ()[0 ]["JobID" ] == valid_job_id
160
159
assert r .json ()[0 ]["Status" ] == JobStatus .RECEIVED .value
Original file line number Diff line number Diff line change @@ -3304,7 +3304,7 @@ class PilotOperations:
3304
3304
3305
3305
models = _models
3306
3306
3307
- def __init__ (self , * args , ** kwargs ):
3307
+ def __init__ (self , * args , ** kwargs ) -> None :
3308
3308
input_args = list (args )
3309
3309
self ._client : PipelineClient = (
3310
3310
input_args .pop (0 ) if input_args else kwargs .pop ("client" )
You can’t perform that action at this time.
0 commit comments