diracx-client 0.0.1a19__py3-none-any.whl → 0.0.1a21__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,54 +1,59 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.0, generator: @autorest/python@6.23.0)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.3, generator: @autorest/python@6.27.1)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
+ # pylint: disable=wrong-import-position
6
7
 
7
- from ._models import BodyAuthToken
8
- from ._models import BodyAuthTokenGrantType
9
- from ._models import DevelopmentSettings
10
- from ._models import GroupInfo
11
- from ._models import HTTPValidationError
12
- from ._models import InitiateDeviceFlowResponse
13
- from ._models import InsertedJob
14
- from ._models import JobSearchParams
15
- from ._models import JobSearchParamsSearchItem
16
- from ._models import JobStatusReturn
17
- from ._models import JobStatusUpdate
18
- from ._models import JobSummaryParams
19
- from ._models import JobSummaryParamsSearchItem
20
- from ._models import LimitedJobStatusReturn
21
- from ._models import Metadata
22
- from ._models import SandboxDownloadResponse
23
- from ._models import SandboxInfo
24
- from ._models import SandboxUploadResponse
25
- from ._models import ScalarSearchSpec
26
- from ._models import ScalarSearchSpecValue
27
- from ._models import SetJobStatusReturn
28
- from ._models import SortSpec
29
- from ._models import SupportInfo
30
- from ._models import TokenResponse
31
- from ._models import UserInfoResponse
32
- from ._models import VOInfo
33
- from ._models import ValidationError
34
- from ._models import ValidationErrorLocItem
35
- from ._models import VectorSearchSpec
36
- from ._models import VectorSearchSpecValues
8
+ from typing import TYPE_CHECKING
37
9
 
38
- from ._enums import ChecksumAlgorithm
39
- from ._enums import Enum0
40
- from ._enums import Enum1
41
- from ._enums import Enum2
42
- from ._enums import Enum3
43
- from ._enums import Enum4
44
- from ._enums import JobStatus
45
- from ._enums import SandboxFormat
46
- from ._enums import SandboxType
47
- from ._enums import ScalarSearchOperator
48
- from ._enums import SortDirection
49
- from ._enums import VectorSearchOperator
10
+ if TYPE_CHECKING:
11
+ from ._patch import * # pylint: disable=unused-wildcard-import
12
+
13
+
14
+ from ._models import ( # type: ignore
15
+ BodyAuthToken,
16
+ BodyAuthTokenGrantType,
17
+ DevelopmentSettings,
18
+ GroupInfo,
19
+ HTTPValidationError,
20
+ InitiateDeviceFlowResponse,
21
+ InsertedJob,
22
+ JobSearchParams,
23
+ JobSearchParamsSearchItem,
24
+ JobStatusUpdate,
25
+ JobSummaryParams,
26
+ JobSummaryParamsSearchItem,
27
+ Metadata,
28
+ SandboxDownloadResponse,
29
+ SandboxInfo,
30
+ SandboxUploadResponse,
31
+ ScalarSearchSpec,
32
+ ScalarSearchSpecValue,
33
+ SetJobStatusReturn,
34
+ SetJobStatusReturnSuccess,
35
+ SortSpec,
36
+ SupportInfo,
37
+ TokenResponse,
38
+ UserInfoResponse,
39
+ VOInfo,
40
+ ValidationError,
41
+ ValidationErrorLocItem,
42
+ VectorSearchSpec,
43
+ VectorSearchSpecValues,
44
+ )
45
+
46
+ from ._enums import ( # type: ignore
47
+ ChecksumAlgorithm,
48
+ JobStatus,
49
+ SandboxFormat,
50
+ SandboxType,
51
+ ScalarSearchOperator,
52
+ SortDirection,
53
+ VectorSearchOperator,
54
+ )
50
55
  from ._patch import __all__ as _patch_all
51
- from ._patch import * # pylint: disable=unused-wildcard-import
56
+ from ._patch import *
52
57
  from ._patch import patch_sdk as _patch_sdk
53
58
 
54
59
  __all__ = [
@@ -61,11 +66,9 @@ __all__ = [
61
66
  "InsertedJob",
62
67
  "JobSearchParams",
63
68
  "JobSearchParamsSearchItem",
64
- "JobStatusReturn",
65
69
  "JobStatusUpdate",
66
70
  "JobSummaryParams",
67
71
  "JobSummaryParamsSearchItem",
68
- "LimitedJobStatusReturn",
69
72
  "Metadata",
70
73
  "SandboxDownloadResponse",
71
74
  "SandboxInfo",
@@ -73,6 +76,7 @@ __all__ = [
73
76
  "ScalarSearchSpec",
74
77
  "ScalarSearchSpecValue",
75
78
  "SetJobStatusReturn",
79
+ "SetJobStatusReturnSuccess",
76
80
  "SortSpec",
77
81
  "SupportInfo",
78
82
  "TokenResponse",
@@ -83,11 +87,6 @@ __all__ = [
83
87
  "VectorSearchSpec",
84
88
  "VectorSearchSpecValues",
85
89
  "ChecksumAlgorithm",
86
- "Enum0",
87
- "Enum1",
88
- "Enum2",
89
- "Enum3",
90
- "Enum4",
91
90
  "JobStatus",
92
91
  "SandboxFormat",
93
92
  "SandboxType",
@@ -95,5 +94,5 @@ __all__ = [
95
94
  "SortDirection",
96
95
  "VectorSearchOperator",
97
96
  ]
98
- __all__.extend([p for p in _patch_all if p not in __all__])
97
+ __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
99
98
  _patch_sdk()
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.0, generator: @autorest/python@6.23.0)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.3, generator: @autorest/python@6.27.1)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -14,38 +14,6 @@ class ChecksumAlgorithm(str, Enum, metaclass=CaseInsensitiveEnumMeta):
14
14
  SHA256 = "sha256"
15
15
 
16
16
 
17
- class Enum0(str, Enum, metaclass=CaseInsensitiveEnumMeta):
18
- """Response Type."""
19
-
20
- CODE = "code"
21
-
22
-
23
- class Enum1(str, Enum, metaclass=CaseInsensitiveEnumMeta):
24
- """Code Challenge Method."""
25
-
26
- S256 = "S256"
27
-
28
-
29
- class Enum2(str, Enum, metaclass=CaseInsensitiveEnumMeta):
30
- """Enum2."""
31
-
32
- AUTHORIZATION_CODE = "authorization_code"
33
-
34
-
35
- class Enum3(str, Enum, metaclass=CaseInsensitiveEnumMeta):
36
- """Enum3."""
37
-
38
- URN_IETF_PARAMS_OAUTH_GRANT_TYPE_DEVICE_CODE = (
39
- "urn:ietf:params:oauth:grant-type:device_code"
40
- )
41
-
42
-
43
- class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta):
44
- """Enum4."""
45
-
46
- REFRESH_TOKEN = "refresh_token"
47
-
48
-
49
17
  class JobStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
50
18
  """JobStatus."""
51
19
 
@@ -1,7 +1,7 @@
1
- # coding=utf-8
2
1
  # pylint: disable=too-many-lines
2
+ # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.0, generator: @autorest/python@6.23.0)
4
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.3, generator: @autorest/python@6.27.1)
5
5
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
6
6
  # --------------------------------------------------------------------------
7
7
 
@@ -14,10 +14,9 @@ from .. import _serialization
14
14
  if sys.version_info >= (3, 9):
15
15
  from collections.abc import MutableMapping
16
16
  else:
17
- from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
17
+ from typing import MutableMapping # type: ignore
18
18
 
19
19
  if TYPE_CHECKING:
20
- # pylint: disable=unused-import,ungrouped-imports
21
20
  from .. import models as _models
22
21
  JSON = MutableMapping[str, Any] # pylint: disable=unsubscriptable-object
23
22
 
@@ -346,73 +345,6 @@ class JobSearchParamsSearchItem(_serialization.Model):
346
345
  """JobSearchParamsSearchItem."""
347
346
 
348
347
 
349
- class JobStatusReturn(_serialization.Model):
350
- """JobStatusReturn.
351
-
352
- All required parameters must be populated in order to send to server.
353
-
354
- :ivar status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
355
- "Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
356
- "Failed", "Deleted", "Killed", and "Rescheduled".
357
- :vartype status: str or ~generated.models.JobStatus
358
- :ivar minor_status: Minorstatus. Required.
359
- :vartype minor_status: str
360
- :ivar application_status: Applicationstatus. Required.
361
- :vartype application_status: str
362
- :ivar status_time: Statustime. Required.
363
- :vartype status_time: ~datetime.datetime
364
- :ivar source: Source. Required.
365
- :vartype source: str
366
- """
367
-
368
- _validation = {
369
- "status": {"required": True},
370
- "minor_status": {"required": True},
371
- "application_status": {"required": True},
372
- "status_time": {"required": True},
373
- "source": {"required": True},
374
- }
375
-
376
- _attribute_map = {
377
- "status": {"key": "Status", "type": "str"},
378
- "minor_status": {"key": "MinorStatus", "type": "str"},
379
- "application_status": {"key": "ApplicationStatus", "type": "str"},
380
- "status_time": {"key": "StatusTime", "type": "iso-8601"},
381
- "source": {"key": "Source", "type": "str"},
382
- }
383
-
384
- def __init__(
385
- self,
386
- *,
387
- status: Union[str, "_models.JobStatus"],
388
- minor_status: str,
389
- application_status: str,
390
- status_time: datetime.datetime,
391
- source: str,
392
- **kwargs: Any,
393
- ) -> None:
394
- """
395
- :keyword status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
396
- "Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
397
- "Failed", "Deleted", "Killed", and "Rescheduled".
398
- :paramtype status: str or ~generated.models.JobStatus
399
- :keyword minor_status: Minorstatus. Required.
400
- :paramtype minor_status: str
401
- :keyword application_status: Applicationstatus. Required.
402
- :paramtype application_status: str
403
- :keyword status_time: Statustime. Required.
404
- :paramtype status_time: ~datetime.datetime
405
- :keyword source: Source. Required.
406
- :paramtype source: str
407
- """
408
- super().__init__(**kwargs)
409
- self.status = status
410
- self.minor_status = minor_status
411
- self.application_status = application_status
412
- self.status_time = status_time
413
- self.source = source
414
-
415
-
416
348
  class JobStatusUpdate(_serialization.Model):
417
349
  """JobStatusUpdate.
418
350
 
@@ -505,57 +437,6 @@ class JobSummaryParamsSearchItem(_serialization.Model):
505
437
  """JobSummaryParamsSearchItem."""
506
438
 
507
439
 
508
- class LimitedJobStatusReturn(_serialization.Model):
509
- """LimitedJobStatusReturn.
510
-
511
- All required parameters must be populated in order to send to server.
512
-
513
- :ivar status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
514
- "Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
515
- "Failed", "Deleted", "Killed", and "Rescheduled".
516
- :vartype status: str or ~generated.models.JobStatus
517
- :ivar minor_status: Minorstatus. Required.
518
- :vartype minor_status: str
519
- :ivar application_status: Applicationstatus. Required.
520
- :vartype application_status: str
521
- """
522
-
523
- _validation = {
524
- "status": {"required": True},
525
- "minor_status": {"required": True},
526
- "application_status": {"required": True},
527
- }
528
-
529
- _attribute_map = {
530
- "status": {"key": "Status", "type": "str"},
531
- "minor_status": {"key": "MinorStatus", "type": "str"},
532
- "application_status": {"key": "ApplicationStatus", "type": "str"},
533
- }
534
-
535
- def __init__(
536
- self,
537
- *,
538
- status: Union[str, "_models.JobStatus"],
539
- minor_status: str,
540
- application_status: str,
541
- **kwargs: Any,
542
- ) -> None:
543
- """
544
- :keyword status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
545
- "Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
546
- "Failed", "Deleted", "Killed", and "Rescheduled".
547
- :paramtype status: str or ~generated.models.JobStatus
548
- :keyword minor_status: Minorstatus. Required.
549
- :paramtype minor_status: str
550
- :keyword application_status: Applicationstatus. Required.
551
- :paramtype application_status: str
552
- """
553
- super().__init__(**kwargs)
554
- self.status = status
555
- self.minor_status = minor_status
556
- self.application_status = application_status
557
-
558
-
559
440
  class Metadata(_serialization.Model):
560
441
  """Metadata.
561
442
 
@@ -789,6 +670,45 @@ class ScalarSearchSpecValue(_serialization.Model):
789
670
  class SetJobStatusReturn(_serialization.Model):
790
671
  """SetJobStatusReturn.
791
672
 
673
+ All required parameters must be populated in order to send to server.
674
+
675
+ :ivar success: Success. Required.
676
+ :vartype success: dict[str, ~generated.models.SetJobStatusReturnSuccess]
677
+ :ivar failed: Failed. Required.
678
+ :vartype failed: dict[str, dict[str, str]]
679
+ """
680
+
681
+ _validation = {
682
+ "success": {"required": True},
683
+ "failed": {"required": True},
684
+ }
685
+
686
+ _attribute_map = {
687
+ "success": {"key": "success", "type": "{SetJobStatusReturnSuccess}"},
688
+ "failed": {"key": "failed", "type": "{{str}}"},
689
+ }
690
+
691
+ def __init__(
692
+ self,
693
+ *,
694
+ success: Dict[str, "_models.SetJobStatusReturnSuccess"],
695
+ failed: Dict[str, Dict[str, str]],
696
+ **kwargs: Any,
697
+ ) -> None:
698
+ """
699
+ :keyword success: Success. Required.
700
+ :paramtype success: dict[str, ~generated.models.SetJobStatusReturnSuccess]
701
+ :keyword failed: Failed. Required.
702
+ :paramtype failed: dict[str, dict[str, str]]
703
+ """
704
+ super().__init__(**kwargs)
705
+ self.success = success
706
+ self.failed = failed
707
+
708
+
709
+ class SetJobStatusReturnSuccess(_serialization.Model):
710
+ """Successful new status change.
711
+
792
712
  :ivar status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
793
713
  "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
794
714
  "Deleted", "Killed", and "Rescheduled".
@@ -1,16 +1,22 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.0, generator: @autorest/python@6.23.0)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.3, generator: @autorest/python@6.27.1)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
+ # pylint: disable=wrong-import-position
6
7
 
7
- from ._operations import WellKnownOperations
8
- from ._operations import AuthOperations
9
- from ._operations import ConfigOperations
10
- from ._operations import JobsOperations
8
+ from typing import TYPE_CHECKING
9
+
10
+ if TYPE_CHECKING:
11
+ from ._patch import * # pylint: disable=unused-wildcard-import
12
+
13
+ from ._operations import WellKnownOperations # type: ignore
14
+ from ._operations import AuthOperations # type: ignore
15
+ from ._operations import ConfigOperations # type: ignore
16
+ from ._operations import JobsOperations # type: ignore
11
17
 
12
18
  from ._patch import __all__ as _patch_all
13
- from ._patch import * # pylint: disable=unused-wildcard-import
19
+ from ._patch import *
14
20
  from ._patch import patch_sdk as _patch_sdk
15
21
 
16
22
  __all__ = [
@@ -19,5 +25,5 @@ __all__ = [
19
25
  "ConfigOperations",
20
26
  "JobsOperations",
21
27
  ]
22
- __all__.extend([p for p in _patch_all if p not in __all__])
28
+ __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
23
29
  _patch_sdk()