Skip to content

Commit 2099d7b

Browse files
fix: Generate client
1 parent 394ac96 commit 2099d7b

File tree

12 files changed

+865
-700
lines changed

12 files changed

+865
-700
lines changed

diracx-client/src/diracx/client/_generated/aio/operations/_operations.py

Lines changed: 179 additions & 154 deletions
Large diffs are not rendered by default.

diracx-client/src/diracx/client/_generated/models/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
BodyPilotsAddJobsToPilot,
1818
BodyPilotsAddPilotStamps,
1919
BodyPilotsCreatePilotSecrets,
20-
BodyPilotsPilotLogin,
20+
BodyPilotsPerformSecretExchange,
2121
BodyPilotsRefreshPilotTokens,
2222
BodyPilotsUpdatePilotFields,
2323
GroupInfo,
@@ -76,7 +76,7 @@
7676
"BodyPilotsAddJobsToPilot",
7777
"BodyPilotsAddPilotStamps",
7878
"BodyPilotsCreatePilotSecrets",
79-
"BodyPilotsPilotLogin",
79+
"BodyPilotsPerformSecretExchange",
8080
"BodyPilotsRefreshPilotTokens",
8181
"BodyPilotsUpdatePilotFields",
8282
"GroupInfo",

diracx-client/src/diracx/client/_generated/models/_models.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,14 @@ class BodyPilotsAddPilotStamps(_serialization.Model):
138138
:vartype vo: str
139139
:ivar grid_type: Grid type of the pilots.
140140
:vartype grid_type: str
141+
:ivar grid_site: Pilots grid site.
142+
:vartype grid_site: str
143+
:ivar destination_site: Pilots destination site.
144+
:vartype destination_site: str
141145
:ivar pilot_references: Association of a pilot reference with a pilot stamp.
142146
:vartype pilot_references: dict[str, str]
147+
:ivar status_reason: Status reason of the pilots.
148+
:vartype status_reason: str
143149
:ivar generate_secrets: If we want to create secrets with the pilots.
144150
:vartype generate_secrets: bool
145151
:ivar pilot_secret_use_count_max: How much time can a secret be used.
@@ -155,7 +161,10 @@ class BodyPilotsAddPilotStamps(_serialization.Model):
155161
"pilot_stamps": {"key": "pilot_stamps", "type": "[str]"},
156162
"vo": {"key": "vo", "type": "str"},
157163
"grid_type": {"key": "grid_type", "type": "str"},
164+
"grid_site": {"key": "grid_site", "type": "str"},
165+
"destination_site": {"key": "destination_site", "type": "str"},
158166
"pilot_references": {"key": "pilot_references", "type": "{str}"},
167+
"status_reason": {"key": "status_reason", "type": "str"},
159168
"generate_secrets": {"key": "generate_secrets", "type": "bool"},
160169
"pilot_secret_use_count_max": {"key": "pilot_secret_use_count_max", "type": "int"},
161170
}
@@ -166,7 +175,10 @@ def __init__(
166175
pilot_stamps: List[str],
167176
vo: str,
168177
grid_type: str = "Dirac",
178+
grid_site: str = "Unknown",
179+
destination_site: str = "NotAssigned",
169180
pilot_references: Optional[Dict[str, str]] = None,
181+
status_reason: str = "Unknown",
170182
generate_secrets: bool = True,
171183
pilot_secret_use_count_max: int = 1,
172184
**kwargs: Any
@@ -178,8 +190,14 @@ def __init__(
178190
:paramtype vo: str
179191
:keyword grid_type: Grid type of the pilots.
180192
:paramtype grid_type: str
193+
:keyword grid_site: Pilots grid site.
194+
:paramtype grid_site: str
195+
:keyword destination_site: Pilots destination site.
196+
:paramtype destination_site: str
181197
:keyword pilot_references: Association of a pilot reference with a pilot stamp.
182198
:paramtype pilot_references: dict[str, str]
199+
:keyword status_reason: Status reason of the pilots.
200+
:paramtype status_reason: str
183201
:keyword generate_secrets: If we want to create secrets with the pilots.
184202
:paramtype generate_secrets: bool
185203
:keyword pilot_secret_use_count_max: How much time can a secret be used.
@@ -189,7 +207,10 @@ def __init__(
189207
self.pilot_stamps = pilot_stamps
190208
self.vo = vo
191209
self.grid_type = grid_type
210+
self.grid_site = grid_site
211+
self.destination_site = destination_site
192212
self.pilot_references = pilot_references
213+
self.status_reason = status_reason
193214
self.generate_secrets = generate_secrets
194215
self.pilot_secret_use_count_max = pilot_secret_use_count_max
195216

@@ -234,8 +255,8 @@ def __init__(self, *, n: int, expiration_minutes: int, pilot_secret_use_count_ma
234255
self.pilot_secret_use_count_max = pilot_secret_use_count_max
235256

236257

237-
class BodyPilotsPilotLogin(_serialization.Model):
238-
"""Body_pilots_pilot_login.
258+
class BodyPilotsPerformSecretExchange(_serialization.Model):
259+
"""Body_pilots_perform_secret_exchange.
239260
240261
All required parameters must be populated in order to send to server.
241262

0 commit comments

Comments
 (0)