diracx-client 0.0.1a29__py3-none-any.whl → 0.0.1a32__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  # pylint: disable=too-many-lines
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.28.3)
4
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.4, generator: @autorest/python@6.31.0)
5
5
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
6
6
  # --------------------------------------------------------------------------
7
7
  from io import IOBase
@@ -36,13 +36,12 @@ T = TypeVar("T")
36
36
  ClsType = Optional[
37
37
  Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]
38
38
  ]
39
- JSON = MutableMapping[str, Any] # pylint: disable=unsubscriptable-object
40
39
 
41
40
  _SERIALIZER = Serializer()
42
41
  _SERIALIZER.client_side_validation = False
43
42
 
44
43
 
45
- def build_well_known_openid_configuration_request(
44
+ def build_well_known_get_openid_configuration_request(
46
45
  **kwargs: Any,
47
46
  ) -> HttpRequest: # pylint: disable=name-too-long
48
47
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -58,7 +57,7 @@ def build_well_known_openid_configuration_request(
58
57
  return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs)
59
58
 
60
59
 
61
- def build_well_known_installation_metadata_request(
60
+ def build_well_known_get_installation_metadata_request(
62
61
  **kwargs: Any,
63
62
  ) -> HttpRequest: # pylint: disable=name-too-long
64
63
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -201,7 +200,7 @@ def build_auth_userinfo_request(**kwargs: Any) -> HttpRequest:
201
200
  return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs)
202
201
 
203
202
 
204
- def build_auth_authorization_flow_request(
203
+ def build_auth_initiate_authorization_flow_request( # pylint: disable=name-too-long
205
204
  *,
206
205
  response_type: str,
207
206
  code_challenge: str,
@@ -241,7 +240,7 @@ def build_auth_authorization_flow_request(
241
240
  )
242
241
 
243
242
 
244
- def build_auth_authorization_flow_complete_request( # pylint: disable=name-too-long
243
+ def build_auth_complete_authorization_flow_request( # pylint: disable=name-too-long
245
244
  *, code: str, state: str, **kwargs: Any
246
245
  ) -> HttpRequest:
247
246
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -459,9 +458,7 @@ def build_jobs_assign_sandbox_to_job_request(
459
458
  )
460
459
 
461
460
 
462
- def build_jobs_remove_bulk_jobs_request(
463
- *, job_ids: List[int], **kwargs: Any
464
- ) -> HttpRequest:
461
+ def build_jobs_remove_jobs_request(*, job_ids: List[int], **kwargs: Any) -> HttpRequest:
465
462
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
466
463
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
467
464
 
@@ -511,7 +508,7 @@ def build_jobs_set_job_statuses_request(
511
508
  )
512
509
 
513
510
 
514
- def build_jobs_reschedule_bulk_jobs_request(
511
+ def build_jobs_reschedule_jobs_request(
515
512
  *, job_ids: List[int], reset_jobs: bool = False, **kwargs: Any
516
513
  ) -> HttpRequest:
517
514
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -535,6 +532,24 @@ def build_jobs_reschedule_bulk_jobs_request(
535
532
  )
536
533
 
537
534
 
535
+ def build_jobs_patch_metadata_request(**kwargs: Any) -> HttpRequest:
536
+ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
537
+
538
+ content_type: Optional[str] = kwargs.pop(
539
+ "content_type", _headers.pop("Content-Type", None)
540
+ )
541
+ # Construct URL
542
+ _url = "/api/jobs/metadata"
543
+
544
+ # Construct headers
545
+ if content_type is not None:
546
+ _headers["Content-Type"] = _SERIALIZER.header(
547
+ "content_type", content_type, "str"
548
+ )
549
+
550
+ return HttpRequest(method="PATCH", url=_url, headers=_headers, **kwargs)
551
+
552
+
538
553
  def build_jobs_search_request(
539
554
  *, page: int = 1, per_page: int = 100, **kwargs: Any
540
555
  ) -> HttpRequest:
@@ -588,7 +603,7 @@ def build_jobs_summary_request(**kwargs: Any) -> HttpRequest:
588
603
  return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs)
589
604
 
590
605
 
591
- def build_jobs_submit_bulk_jdl_jobs_request(**kwargs: Any) -> HttpRequest:
606
+ def build_jobs_submit_jdl_jobs_request(**kwargs: Any) -> HttpRequest:
592
607
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
593
608
 
594
609
  content_type: Optional[str] = kwargs.pop(
@@ -637,13 +652,13 @@ class WellKnownOperations:
637
652
  )
638
653
 
639
654
  @distributed_trace
640
- def openid_configuration(self, **kwargs: Any) -> Any:
641
- """Openid Configuration.
655
+ def get_openid_configuration(self, **kwargs: Any) -> _models.OpenIDConfiguration:
656
+ """Get Openid Configuration.
642
657
 
643
658
  OpenID Connect discovery endpoint.
644
659
 
645
- :return: any
646
- :rtype: any
660
+ :return: OpenIDConfiguration
661
+ :rtype: ~generated.models.OpenIDConfiguration
647
662
  :raises ~azure.core.exceptions.HttpResponseError:
648
663
  """
649
664
  error_map: MutableMapping = {
@@ -657,9 +672,9 @@ class WellKnownOperations:
657
672
  _headers = kwargs.pop("headers", {}) or {}
658
673
  _params = kwargs.pop("params", {}) or {}
659
674
 
660
- cls: ClsType[Any] = kwargs.pop("cls", None)
675
+ cls: ClsType[_models.OpenIDConfiguration] = kwargs.pop("cls", None)
661
676
 
662
- _request = build_well_known_openid_configuration_request(
677
+ _request = build_well_known_get_openid_configuration_request(
663
678
  headers=_headers,
664
679
  params=_params,
665
680
  )
@@ -680,7 +695,9 @@ class WellKnownOperations:
680
695
  )
681
696
  raise HttpResponseError(response=response)
682
697
 
683
- deserialized = self._deserialize("object", pipeline_response.http_response)
698
+ deserialized = self._deserialize(
699
+ "OpenIDConfiguration", pipeline_response.http_response
700
+ )
684
701
 
685
702
  if cls:
686
703
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -688,8 +705,8 @@ class WellKnownOperations:
688
705
  return deserialized # type: ignore
689
706
 
690
707
  @distributed_trace
691
- def installation_metadata(self, **kwargs: Any) -> _models.Metadata:
692
- """Installation Metadata.
708
+ def get_installation_metadata(self, **kwargs: Any) -> _models.Metadata:
709
+ """Get Installation Metadata.
693
710
 
694
711
  Get metadata about the dirac installation.
695
712
 
@@ -710,7 +727,7 @@ class WellKnownOperations:
710
727
 
711
728
  cls: ClsType[_models.Metadata] = kwargs.pop("cls", None)
712
729
 
713
- _request = build_well_known_installation_metadata_request(
730
+ _request = build_well_known_get_installation_metadata_request(
714
731
  headers=_headers,
715
732
  params=_params,
716
733
  )
@@ -769,7 +786,7 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
769
786
  raise_if_not_implemented(
770
787
  self.__class__,
771
788
  [
772
- "token",
789
+ "get_oidc_token",
773
790
  ],
774
791
  )
775
792
 
@@ -1190,7 +1207,7 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
1190
1207
  return deserialized # type: ignore
1191
1208
 
1192
1209
  @distributed_trace
1193
- def authorization_flow(
1210
+ def initiate_authorization_flow(
1194
1211
  self,
1195
1212
  *,
1196
1213
  response_type: str,
@@ -1202,7 +1219,7 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
1202
1219
  state: str,
1203
1220
  **kwargs: Any,
1204
1221
  ) -> Any:
1205
- """Authorization Flow.
1222
+ """Initiate Authorization Flow.
1206
1223
 
1207
1224
  Initiate the authorization flow.
1208
1225
  It will redirect to the actual OpenID server (IAM, CheckIn) to
@@ -1262,7 +1279,7 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
1262
1279
 
1263
1280
  cls: ClsType[Any] = kwargs.pop("cls", None)
1264
1281
 
1265
- _request = build_auth_authorization_flow_request(
1282
+ _request = build_auth_initiate_authorization_flow_request(
1266
1283
  response_type=response_type,
1267
1284
  code_challenge=code_challenge,
1268
1285
  code_challenge_method=code_challenge_method,
@@ -1298,10 +1315,10 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
1298
1315
  return deserialized # type: ignore
1299
1316
 
1300
1317
  @distributed_trace
1301
- def authorization_flow_complete(
1318
+ def complete_authorization_flow(
1302
1319
  self, *, code: str, state: str, **kwargs: Any
1303
1320
  ) -> Any:
1304
- """Authorization Flow Complete.
1321
+ """Complete Authorization Flow.
1305
1322
 
1306
1323
  Complete the authorization flow.
1307
1324
 
@@ -1332,7 +1349,7 @@ class AuthOperations: # pylint: disable=abstract-class-instantiated
1332
1349
 
1333
1350
  cls: ClsType[Any] = kwargs.pop("cls", None)
1334
1351
 
1335
- _request = build_auth_authorization_flow_complete_request(
1352
+ _request = build_auth_complete_authorization_flow_request(
1336
1353
  code=code,
1337
1354
  state=state,
1338
1355
  headers=_headers,
@@ -1977,8 +1994,8 @@ class JobsOperations:
1977
1994
  return deserialized # type: ignore
1978
1995
 
1979
1996
  @distributed_trace
1980
- def remove_bulk_jobs(self, *, job_ids: List[int], **kwargs: Any) -> Any:
1981
- """Remove Bulk Jobs.
1997
+ def remove_jobs(self, *, job_ids: List[int], **kwargs: Any) -> Any:
1998
+ """Remove Jobs.
1982
1999
 
1983
2000
  Fully remove a list of jobs from the WMS databases.
1984
2001
 
@@ -2006,7 +2023,7 @@ class JobsOperations:
2006
2023
 
2007
2024
  cls: ClsType[Any] = kwargs.pop("cls", None)
2008
2025
 
2009
- _request = build_jobs_remove_bulk_jobs_request(
2026
+ _request = build_jobs_remove_jobs_request(
2010
2027
  job_ids=job_ids,
2011
2028
  headers=_headers,
2012
2029
  params=_params,
@@ -2164,19 +2181,19 @@ class JobsOperations:
2164
2181
  return deserialized # type: ignore
2165
2182
 
2166
2183
  @distributed_trace
2167
- def reschedule_bulk_jobs(
2184
+ def reschedule_jobs(
2168
2185
  self, *, job_ids: List[int], reset_jobs: bool = False, **kwargs: Any
2169
- ) -> Any:
2170
- """Reschedule Bulk Jobs.
2186
+ ) -> Dict[str, Any]:
2187
+ """Reschedule Jobs.
2171
2188
 
2172
- Reschedule Bulk Jobs.
2189
+ Reschedule Jobs.
2173
2190
 
2174
2191
  :keyword job_ids: Required.
2175
2192
  :paramtype job_ids: list[int]
2176
2193
  :keyword reset_jobs: Default value is False.
2177
2194
  :paramtype reset_jobs: bool
2178
- :return: any
2179
- :rtype: any
2195
+ :return: dict mapping str to any
2196
+ :rtype: dict[str, any]
2180
2197
  :raises ~azure.core.exceptions.HttpResponseError:
2181
2198
  """
2182
2199
  error_map: MutableMapping = {
@@ -2190,9 +2207,9 @@ class JobsOperations:
2190
2207
  _headers = kwargs.pop("headers", {}) or {}
2191
2208
  _params = kwargs.pop("params", {}) or {}
2192
2209
 
2193
- cls: ClsType[Any] = kwargs.pop("cls", None)
2210
+ cls: ClsType[Dict[str, Any]] = kwargs.pop("cls", None)
2194
2211
 
2195
- _request = build_jobs_reschedule_bulk_jobs_request(
2212
+ _request = build_jobs_reschedule_jobs_request(
2196
2213
  job_ids=job_ids,
2197
2214
  reset_jobs=reset_jobs,
2198
2215
  headers=_headers,
@@ -2215,13 +2232,118 @@ class JobsOperations:
2215
2232
  )
2216
2233
  raise HttpResponseError(response=response)
2217
2234
 
2218
- deserialized = self._deserialize("object", pipeline_response.http_response)
2235
+ deserialized = self._deserialize("{object}", pipeline_response.http_response)
2219
2236
 
2220
2237
  if cls:
2221
2238
  return cls(pipeline_response, deserialized, {}) # type: ignore
2222
2239
 
2223
2240
  return deserialized # type: ignore
2224
2241
 
2242
+ @overload
2243
+ def patch_metadata(
2244
+ self,
2245
+ body: Dict[str, Dict[str, Any]],
2246
+ *,
2247
+ content_type: str = "application/json",
2248
+ **kwargs: Any,
2249
+ ) -> None:
2250
+ """Patch Metadata.
2251
+
2252
+ Patch Metadata.
2253
+
2254
+ :param body: Required.
2255
+ :type body: dict[str, dict[str, any]]
2256
+ :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2257
+ Default value is "application/json".
2258
+ :paramtype content_type: str
2259
+ :return: None
2260
+ :rtype: None
2261
+ :raises ~azure.core.exceptions.HttpResponseError:
2262
+ """
2263
+
2264
+ @overload
2265
+ def patch_metadata(
2266
+ self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
2267
+ ) -> None:
2268
+ """Patch Metadata.
2269
+
2270
+ Patch Metadata.
2271
+
2272
+ :param body: Required.
2273
+ :type body: IO[bytes]
2274
+ :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2275
+ Default value is "application/json".
2276
+ :paramtype content_type: str
2277
+ :return: None
2278
+ :rtype: None
2279
+ :raises ~azure.core.exceptions.HttpResponseError:
2280
+ """
2281
+
2282
+ @distributed_trace
2283
+ def patch_metadata( # pylint: disable=inconsistent-return-statements
2284
+ self, body: Union[Dict[str, Dict[str, Any]], IO[bytes]], **kwargs: Any
2285
+ ) -> None:
2286
+ """Patch Metadata.
2287
+
2288
+ Patch Metadata.
2289
+
2290
+ :param body: Is either a {str: {str: Any}} type or a IO[bytes] type. Required.
2291
+ :type body: dict[str, dict[str, any]] or IO[bytes]
2292
+ :return: None
2293
+ :rtype: None
2294
+ :raises ~azure.core.exceptions.HttpResponseError:
2295
+ """
2296
+ error_map: MutableMapping = {
2297
+ 401: ClientAuthenticationError,
2298
+ 404: ResourceNotFoundError,
2299
+ 409: ResourceExistsError,
2300
+ 304: ResourceNotModifiedError,
2301
+ }
2302
+ error_map.update(kwargs.pop("error_map", {}) or {})
2303
+
2304
+ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2305
+ _params = kwargs.pop("params", {}) or {}
2306
+
2307
+ content_type: Optional[str] = kwargs.pop(
2308
+ "content_type", _headers.pop("Content-Type", None)
2309
+ )
2310
+ cls: ClsType[None] = kwargs.pop("cls", None)
2311
+
2312
+ content_type = content_type or "application/json"
2313
+ _json = None
2314
+ _content = None
2315
+ if isinstance(body, (IOBase, bytes)):
2316
+ _content = body
2317
+ else:
2318
+ _json = self._serialize.body(body, "{{object}}")
2319
+
2320
+ _request = build_jobs_patch_metadata_request(
2321
+ content_type=content_type,
2322
+ json=_json,
2323
+ content=_content,
2324
+ headers=_headers,
2325
+ params=_params,
2326
+ )
2327
+ _request.url = self._client.format_url(_request.url)
2328
+
2329
+ _stream = False
2330
+ pipeline_response: PipelineResponse = (
2331
+ self._client._pipeline.run( # pylint: disable=protected-access
2332
+ _request, stream=_stream, **kwargs
2333
+ )
2334
+ )
2335
+
2336
+ response = pipeline_response.http_response
2337
+
2338
+ if response.status_code not in [204]:
2339
+ map_error(
2340
+ status_code=response.status_code, response=response, error_map=error_map
2341
+ )
2342
+ raise HttpResponseError(response=response)
2343
+
2344
+ if cls:
2345
+ return cls(pipeline_response, None, {}) # type: ignore
2346
+
2225
2347
  @overload
2226
2348
  def search(
2227
2349
  self,
@@ -2231,7 +2353,7 @@ class JobsOperations:
2231
2353
  per_page: int = 100,
2232
2354
  content_type: str = "application/json",
2233
2355
  **kwargs: Any,
2234
- ) -> List[JSON]:
2356
+ ) -> List[Dict[str, Any]]:
2235
2357
  """Search.
2236
2358
 
2237
2359
  Retrieve information about jobs.
@@ -2247,8 +2369,8 @@ class JobsOperations:
2247
2369
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2248
2370
  Default value is "application/json".
2249
2371
  :paramtype content_type: str
2250
- :return: list of JSON
2251
- :rtype: list[JSON]
2372
+ :return: list of dict mapping str to any
2373
+ :rtype: list[dict[str, any]]
2252
2374
  :raises ~azure.core.exceptions.HttpResponseError:
2253
2375
  """
2254
2376
 
@@ -2261,7 +2383,7 @@ class JobsOperations:
2261
2383
  per_page: int = 100,
2262
2384
  content_type: str = "application/json",
2263
2385
  **kwargs: Any,
2264
- ) -> List[JSON]:
2386
+ ) -> List[Dict[str, Any]]:
2265
2387
  """Search.
2266
2388
 
2267
2389
  Retrieve information about jobs.
@@ -2277,8 +2399,8 @@ class JobsOperations:
2277
2399
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2278
2400
  Default value is "application/json".
2279
2401
  :paramtype content_type: str
2280
- :return: list of JSON
2281
- :rtype: list[JSON]
2402
+ :return: list of dict mapping str to any
2403
+ :rtype: list[dict[str, any]]
2282
2404
  :raises ~azure.core.exceptions.HttpResponseError:
2283
2405
  """
2284
2406
 
@@ -2290,7 +2412,7 @@ class JobsOperations:
2290
2412
  page: int = 1,
2291
2413
  per_page: int = 100,
2292
2414
  **kwargs: Any,
2293
- ) -> List[JSON]:
2415
+ ) -> List[Dict[str, Any]]:
2294
2416
  """Search.
2295
2417
 
2296
2418
  Retrieve information about jobs.
@@ -2303,8 +2425,8 @@ class JobsOperations:
2303
2425
  :paramtype page: int
2304
2426
  :keyword per_page: Default value is 100.
2305
2427
  :paramtype per_page: int
2306
- :return: list of JSON
2307
- :rtype: list[JSON]
2428
+ :return: list of dict mapping str to any
2429
+ :rtype: list[dict[str, any]]
2308
2430
  :raises ~azure.core.exceptions.HttpResponseError:
2309
2431
  """
2310
2432
  error_map: MutableMapping = {
@@ -2321,7 +2443,7 @@ class JobsOperations:
2321
2443
  content_type: Optional[str] = kwargs.pop(
2322
2444
  "content_type", _headers.pop("Content-Type", None)
2323
2445
  )
2324
- cls: ClsType[List[JSON]] = kwargs.pop("cls", None)
2446
+ cls: ClsType[List[Dict[str, Any]]] = kwargs.pop("cls", None)
2325
2447
 
2326
2448
  content_type = content_type or "application/json"
2327
2449
  _json = None
@@ -2366,7 +2488,7 @@ class JobsOperations:
2366
2488
  "str", response.headers.get("Content-Range")
2367
2489
  )
2368
2490
 
2369
- deserialized = self._deserialize("[object]", pipeline_response.http_response)
2491
+ deserialized = self._deserialize("[{object}]", pipeline_response.http_response)
2370
2492
 
2371
2493
  if cls:
2372
2494
  return cls(pipeline_response, deserialized, response_headers) # type: ignore
@@ -2483,12 +2605,12 @@ class JobsOperations:
2483
2605
  return deserialized # type: ignore
2484
2606
 
2485
2607
  @overload
2486
- def submit_bulk_jdl_jobs(
2608
+ def submit_jdl_jobs(
2487
2609
  self, body: List[str], *, content_type: str = "application/json", **kwargs: Any
2488
2610
  ) -> List[_models.InsertedJob]:
2489
- """Submit Bulk Jdl Jobs.
2611
+ """Submit Jdl Jobs.
2490
2612
 
2491
- Submit Bulk Jdl Jobs.
2613
+ Submit a list of jobs in JDL format.
2492
2614
 
2493
2615
  :param body: Required.
2494
2616
  :type body: list[str]
@@ -2501,12 +2623,12 @@ class JobsOperations:
2501
2623
  """
2502
2624
 
2503
2625
  @overload
2504
- def submit_bulk_jdl_jobs(
2626
+ def submit_jdl_jobs(
2505
2627
  self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
2506
2628
  ) -> List[_models.InsertedJob]:
2507
- """Submit Bulk Jdl Jobs.
2629
+ """Submit Jdl Jobs.
2508
2630
 
2509
- Submit Bulk Jdl Jobs.
2631
+ Submit a list of jobs in JDL format.
2510
2632
 
2511
2633
  :param body: Required.
2512
2634
  :type body: IO[bytes]
@@ -2519,12 +2641,12 @@ class JobsOperations:
2519
2641
  """
2520
2642
 
2521
2643
  @distributed_trace
2522
- def submit_bulk_jdl_jobs(
2644
+ def submit_jdl_jobs(
2523
2645
  self, body: Union[List[str], IO[bytes]], **kwargs: Any
2524
2646
  ) -> List[_models.InsertedJob]:
2525
- """Submit Bulk Jdl Jobs.
2647
+ """Submit Jdl Jobs.
2526
2648
 
2527
- Submit Bulk Jdl Jobs.
2649
+ Submit a list of jobs in JDL format.
2528
2650
 
2529
2651
  :param body: Is either a [str] type or a IO[bytes] type. Required.
2530
2652
  :type body: list[str] or IO[bytes]
@@ -2556,7 +2678,7 @@ class JobsOperations:
2556
2678
  else:
2557
2679
  _json = self._serialize.body(body, "[str]")
2558
2680
 
2559
- _request = build_jobs_submit_bulk_jdl_jobs_request(
2681
+ _request = build_jobs_submit_jdl_jobs_request(
2560
2682
  content_type=content_type,
2561
2683
  json=_json,
2562
2684
  content=_content,
@@ -9,7 +9,7 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python
9
9
 
10
10
  import io
11
11
  import json
12
- from typing import Any, List, Union
12
+ from typing import Any, Dict, List
13
13
 
14
14
  from azure.core.rest import HttpRequest
15
15
  from azure.core.exceptions import map_error, HttpResponseError
@@ -22,7 +22,6 @@ from .. import models as _models
22
22
  from ._operations import (
23
23
  AuthOperations as AuthOperationsGenerated,
24
24
  JobsOperations as JobsOperationsGenerated,
25
- JSON,
26
25
  _SERIALIZER,
27
26
  )
28
27
 
@@ -56,7 +55,7 @@ def build_token_request(vo: str, **kwargs: Any) -> HttpRequest:
56
55
 
57
56
  class AuthOperations(AuthOperationsGenerated):
58
57
  @distributed_trace
59
- async def token(
58
+ async def get_oidc_token(
60
59
  self, vo: str, device_code: str, client_id: str, **kwargs
61
60
  ) -> _models.TokenResponse | _models.DeviceFlowErrorResponse:
62
61
  request = build_token_request(
@@ -96,7 +95,7 @@ class JobsOperations(JobsOperationsGenerated):
96
95
  search: list[str] | None = None,
97
96
  sort: list[str] | None = None,
98
97
  **kwargs: Any,
99
- ) -> List[JSON]:
98
+ ) -> List[Dict[str, Any]]:
100
99
  """TODO"""
101
100
  body = {}
102
101
  if parameters is not None:
@@ -117,7 +116,7 @@ class JobsOperations(JobsOperationsGenerated):
117
116
  grouping: list[str] | None = None,
118
117
  search: list[str] | None = None,
119
118
  **kwargs: Any,
120
- ) -> List[JSON]:
119
+ ) -> List[Dict[str, Any]]:
121
120
  """TODO"""
122
121
  body = {}
123
122
  if grouping is not None:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: diracx-client
3
- Version: 0.0.1a29
3
+ Version: 0.0.1a32
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -0,0 +1,36 @@
1
+ diracx/client/__init__.py,sha256=aLo7lP4xwlCtxs7MKD55gr2oDLQyWEvRHZVHwj5Sl2c,165
2
+ diracx/client/aio.py,sha256=B6OCJPdz44PyhCODhLHy3QOquZ8DSwFTjKGV_bkBP7A,65
3
+ diracx/client/extensions.py,sha256=igHJAXhgpYQq-Di1ZOX2b2okqgjQHTs9HL8mBTHb6ss,3385
4
+ diracx/client/models.py,sha256=pyvpMz2nPuqGKZsvjffD3qs56eZHh40xiRS4zT9CSqA,203
5
+ diracx/client/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
6
+ diracx/client/generated/__init__.py,sha256=zFb25zwrP_sPVVLhok35FZ0GCsa_USj6dQfiTrodNiA,854
7
+ diracx/client/generated/_client.py,sha256=ECHLvmOp_vpXjQvU423vWMaiTQQmCxG9itZi0gZZhxw,4831
8
+ diracx/client/generated/_configuration.py,sha256=appkfNChwyKYkogVq8nztkwS4V1zD6DrhpqMKdcB2zM,1936
9
+ diracx/client/generated/_patch.py,sha256=9qHUtqTTCzeAYKdYAT-0YOs16YISdYCfAMaNhQIgS-I,766
10
+ diracx/client/generated/_serialization.py,sha256=kTUNiKxO0Bz0hEZfNexYyVgv0m5UOOGDhjNP3O91lLA,85191
11
+ diracx/client/generated/_vendor.py,sha256=PypKctan8y8GBN5uBobmjM-FvyfNAdIPNqlgtlsJJrY,1936
12
+ diracx/client/generated/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
13
+ diracx/client/generated/aio/__init__.py,sha256=zFb25zwrP_sPVVLhok35FZ0GCsa_USj6dQfiTrodNiA,854
14
+ diracx/client/generated/aio/_client.py,sha256=60BSf29WNl4Qw2YwDhnuMObf6ZqzuYNoK1_hOwwuT6E,4952
15
+ diracx/client/generated/aio/_configuration.py,sha256=qVjUeKxQWeUCNZF3t0jajpmyfx_FJQRkm3NgrWeVaVU,1968
16
+ diracx/client/generated/aio/_patch.py,sha256=6FYNV6Yt0ttTc7A5EQui764Ujuzypkjpv47LVdccmD8,697
17
+ diracx/client/generated/aio/_vendor.py,sha256=PypKctan8y8GBN5uBobmjM-FvyfNAdIPNqlgtlsJJrY,1936
18
+ diracx/client/generated/aio/operations/__init__.py,sha256=BaguskGujdJUhyvAUE1nrVu6CfspC1H5I_DPI1I2K5s,1070
19
+ diracx/client/generated/aio/operations/_operations.py,sha256=DZs2boOXrOr-We_K96uK2krY6oeW9-xQFVY7GvvjQ9Y,72449
20
+ diracx/client/generated/aio/operations/_patch.py,sha256=_o0AsMyybY8ndUIunFJJdiidqLCNCDJtto3UbPSdwBs,4254
21
+ diracx/client/generated/models/__init__.py,sha256=89B5zs-kx3G8nu3Btt5jOCDFH8Ah4G60QGqzVc2tCrU,2540
22
+ diracx/client/generated/models/_enums.py,sha256=o6ut7w6cZWUxGzYkP9BybKjeeZfkdhlgYO_WQSYDW3E,1738
23
+ diracx/client/generated/models/_models.py,sha256=k2YlMgdEfZ-qMb4mF8xeLn7RTMXQP5jCUFgiOERjH1A,40889
24
+ diracx/client/generated/models/_patch.py,sha256=uvLwKzjWO_t-VZ4aSuLhuJ05RVxAP9UJxZV3XDeGMnU,1497
25
+ diracx/client/generated/operations/__init__.py,sha256=BaguskGujdJUhyvAUE1nrVu6CfspC1H5I_DPI1I2K5s,1070
26
+ diracx/client/generated/operations/_operations.py,sha256=UlIU5gz41WHHPbHbK2RboALv1Cj0FoRDCCwBCtTolw4,89440
27
+ diracx/client/generated/operations/_patch.py,sha256=9C3NK-TcLTao03ohkLvStsaZCuNJ5-fXsFfNeDfPjB8,4220
28
+ diracx/client/patches/__init__.py,sha256=8mzMyg1Kd9lJH1K7DYJ6FgjkTJgPRJmF0sYmuFv5wcs,468
29
+ diracx/client/patches/utils.py,sha256=OXJx-jSwou-BQm3PrOaZgRWLj-8EFXgjTDVms6uWdN4,10732
30
+ diracx/client/patches/aio/__init__.py,sha256=qIy1qj8HzaZDEU2PCjEHjFbylwfYRAM0i90WEDs2WuQ,471
31
+ diracx/client/patches/aio/utils.py,sha256=Bno4DntLGWEB88UO9eaBtZjG8K3QAJNaT2RI-_mQWgc,5949
32
+ diracx_client-0.0.1a32.dist-info/METADATA,sha256=8dEjlruN-YmpCuUb9ZaLubzCilVuYAlir1SnadXZotA,625
33
+ diracx_client-0.0.1a32.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
34
+ diracx_client-0.0.1a32.dist-info/entry_points.txt,sha256=NP67B7z-VIy8vEG3ZYtOAyxZqLtrOAD5hh2pA2AFBKI,123
35
+ diracx_client-0.0.1a32.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
36
+ diracx_client-0.0.1a32.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,36 +0,0 @@
1
- diracx/client/__init__.py,sha256=aLo7lP4xwlCtxs7MKD55gr2oDLQyWEvRHZVHwj5Sl2c,165
2
- diracx/client/aio.py,sha256=B6OCJPdz44PyhCODhLHy3QOquZ8DSwFTjKGV_bkBP7A,65
3
- diracx/client/extensions.py,sha256=igHJAXhgpYQq-Di1ZOX2b2okqgjQHTs9HL8mBTHb6ss,3385
4
- diracx/client/models.py,sha256=pyvpMz2nPuqGKZsvjffD3qs56eZHh40xiRS4zT9CSqA,203
5
- diracx/client/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
6
- diracx/client/generated/__init__.py,sha256=6h-55YmMsvbdKE3SylfhjjQDQ7Ijb6QPIDSe8cXQEs4,854
7
- diracx/client/generated/_client.py,sha256=wwGe8hqjF50NdsZF98iV22aPqy2xGUJBgF1ikTHGhg4,4831
8
- diracx/client/generated/_configuration.py,sha256=fqdE0GqVtFzVlEOUfbo24vtFI9_LJMSSNl-c9OWujAs,1936
9
- diracx/client/generated/_patch.py,sha256=-LIKKr5s3P-oozD0LCgGCG1Ug8EnzKhZszYUTjOFo-A,1325
10
- diracx/client/generated/_serialization.py,sha256=t5mrJuw3koh6QY6I8O-X4R241F9xanMWtiYFB5WJa5s,85190
11
- diracx/client/generated/_vendor.py,sha256=3HOYl2DRHSySTR8ryKHwI3V011A0TIWuWYst46ekM6I,1936
12
- diracx/client/generated/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
13
- diracx/client/generated/aio/__init__.py,sha256=6h-55YmMsvbdKE3SylfhjjQDQ7Ijb6QPIDSe8cXQEs4,854
14
- diracx/client/generated/aio/_client.py,sha256=8AaJdFznOxvdyz1F5JXQTxG42IuvFAG1sJbtvTdH_3o,4952
15
- diracx/client/generated/aio/_configuration.py,sha256=fxC1sqgUUXAYx5YdxcEdfwLnFO8fOXoOLt8Cw7pncTM,1968
16
- diracx/client/generated/aio/_patch.py,sha256=6FYNV6Yt0ttTc7A5EQui764Ujuzypkjpv47LVdccmD8,697
17
- diracx/client/generated/aio/_vendor.py,sha256=3HOYl2DRHSySTR8ryKHwI3V011A0TIWuWYst46ekM6I,1936
18
- diracx/client/generated/aio/operations/__init__.py,sha256=6AvFaBTJZNwv9pbYwLlqewKey8KJgp9SvG649X1OXI0,1070
19
- diracx/client/generated/aio/operations/_operations.py,sha256=ofYvcd4eyPOcyZZuunYbIvxGxW2apz_K3uTgrAQaFxU,68772
20
- diracx/client/generated/aio/operations/_patch.py,sha256=3oHjHqBF7DXruMSVUTRxW0Xpv_mY1WaB8iyo47YBTec,4229
21
- diracx/client/generated/models/__init__.py,sha256=98hV0OWrJ3CXju26BybKXAnuiXS7pP4duPiMnmpH32A,2512
22
- diracx/client/generated/models/_enums.py,sha256=Sn5mdwyKabEDmScDxXlku6gn9E3w3UNcVFqS_fjl-Hc,1738
23
- diracx/client/generated/models/_models.py,sha256=S9e5VBN6CYEceTegexOszePOOXmSKXVMU6JAQoTPsDk,36407
24
- diracx/client/generated/models/_patch.py,sha256=uvLwKzjWO_t-VZ4aSuLhuJ05RVxAP9UJxZV3XDeGMnU,1497
25
- diracx/client/generated/operations/__init__.py,sha256=6AvFaBTJZNwv9pbYwLlqewKey8KJgp9SvG649X1OXI0,1070
26
- diracx/client/generated/operations/_operations.py,sha256=9mmi4js6kNNA3S4D-703VxiibRRE5S6FqpXnzPOMLjA,85215
27
- diracx/client/generated/operations/_patch.py,sha256=FvemlcswH_zZkdyoGObyTwRnwTsYIZJa3seO66C2BQI,4202
28
- diracx/client/patches/__init__.py,sha256=8mzMyg1Kd9lJH1K7DYJ6FgjkTJgPRJmF0sYmuFv5wcs,468
29
- diracx/client/patches/utils.py,sha256=OXJx-jSwou-BQm3PrOaZgRWLj-8EFXgjTDVms6uWdN4,10732
30
- diracx/client/patches/aio/__init__.py,sha256=qIy1qj8HzaZDEU2PCjEHjFbylwfYRAM0i90WEDs2WuQ,471
31
- diracx/client/patches/aio/utils.py,sha256=Bno4DntLGWEB88UO9eaBtZjG8K3QAJNaT2RI-_mQWgc,5949
32
- diracx_client-0.0.1a29.dist-info/METADATA,sha256=g0a0DV1Zvjlp5pcXr_wkJXECe1ShEnsTHQNhmXUvKns,625
33
- diracx_client-0.0.1a29.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
34
- diracx_client-0.0.1a29.dist-info/entry_points.txt,sha256=NP67B7z-VIy8vEG3ZYtOAyxZqLtrOAD5hh2pA2AFBKI,123
35
- diracx_client-0.0.1a29.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
36
- diracx_client-0.0.1a29.dist-info/RECORD,,