diracx-client 0.0.1a20__py3-none-any.whl → 0.0.1a22__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- diracx/client/generated/__init__.py +9 -3
- diracx/client/generated/_client.py +1 -1
- diracx/client/generated/_configuration.py +1 -1
- diracx/client/generated/_serialization.py +11 -11
- diracx/client/generated/_vendor.py +1 -1
- diracx/client/generated/aio/__init__.py +9 -3
- diracx/client/generated/aio/_client.py +1 -1
- diracx/client/generated/aio/_configuration.py +1 -1
- diracx/client/generated/aio/_vendor.py +1 -1
- diracx/client/generated/aio/operations/__init__.py +12 -6
- diracx/client/generated/aio/operations/_operations.py +356 -1152
- diracx/client/generated/models/__init__.py +50 -51
- diracx/client/generated/models/_enums.py +1 -33
- diracx/client/generated/models/_models.py +40 -119
- diracx/client/generated/operations/__init__.py +12 -6
- diracx/client/generated/operations/_operations.py +513 -1589
- diracx/client/patches/aio/utils.py +19 -34
- diracx/client/patches/utils.py +140 -75
- {diracx_client-0.0.1a20.dist-info → diracx_client-0.0.1a22.dist-info}/METADATA +1 -1
- diracx_client-0.0.1a22.dist-info/RECORD +36 -0
- diracx_client-0.0.1a20.dist-info/RECORD +0 -36
- {diracx_client-0.0.1a20.dist-info → diracx_client-0.0.1a22.dist-info}/WHEEL +0 -0
- {diracx_client-0.0.1a20.dist-info → diracx_client-0.0.1a22.dist-info}/entry_points.txt +0 -0
- {diracx_client-0.0.1a20.dist-info → diracx_client-0.0.1a22.dist-info}/top_level.txt +0 -0
@@ -1,54 +1,59 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.
|
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
|
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
|
-
|
39
|
-
from .
|
40
|
-
|
41
|
-
|
42
|
-
from .
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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 *
|
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",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
# --------------------------------------------------------------------------
|
3
|
-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.
|
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
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.
|
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
|
|
@@ -345,73 +345,6 @@ class JobSearchParamsSearchItem(_serialization.Model):
|
|
345
345
|
"""JobSearchParamsSearchItem."""
|
346
346
|
|
347
347
|
|
348
|
-
class JobStatusReturn(_serialization.Model):
|
349
|
-
"""JobStatusReturn.
|
350
|
-
|
351
|
-
All required parameters must be populated in order to send to server.
|
352
|
-
|
353
|
-
:ivar status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
354
|
-
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
355
|
-
"Failed", "Deleted", "Killed", and "Rescheduled".
|
356
|
-
:vartype status: str or ~generated.models.JobStatus
|
357
|
-
:ivar minor_status: Minorstatus. Required.
|
358
|
-
:vartype minor_status: str
|
359
|
-
:ivar application_status: Applicationstatus. Required.
|
360
|
-
:vartype application_status: str
|
361
|
-
:ivar status_time: Statustime. Required.
|
362
|
-
:vartype status_time: ~datetime.datetime
|
363
|
-
:ivar source: Source. Required.
|
364
|
-
:vartype source: str
|
365
|
-
"""
|
366
|
-
|
367
|
-
_validation = {
|
368
|
-
"status": {"required": True},
|
369
|
-
"minor_status": {"required": True},
|
370
|
-
"application_status": {"required": True},
|
371
|
-
"status_time": {"required": True},
|
372
|
-
"source": {"required": True},
|
373
|
-
}
|
374
|
-
|
375
|
-
_attribute_map = {
|
376
|
-
"status": {"key": "Status", "type": "str"},
|
377
|
-
"minor_status": {"key": "MinorStatus", "type": "str"},
|
378
|
-
"application_status": {"key": "ApplicationStatus", "type": "str"},
|
379
|
-
"status_time": {"key": "StatusTime", "type": "iso-8601"},
|
380
|
-
"source": {"key": "Source", "type": "str"},
|
381
|
-
}
|
382
|
-
|
383
|
-
def __init__(
|
384
|
-
self,
|
385
|
-
*,
|
386
|
-
status: Union[str, "_models.JobStatus"],
|
387
|
-
minor_status: str,
|
388
|
-
application_status: str,
|
389
|
-
status_time: datetime.datetime,
|
390
|
-
source: str,
|
391
|
-
**kwargs: Any,
|
392
|
-
) -> None:
|
393
|
-
"""
|
394
|
-
:keyword status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
395
|
-
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
396
|
-
"Failed", "Deleted", "Killed", and "Rescheduled".
|
397
|
-
:paramtype status: str or ~generated.models.JobStatus
|
398
|
-
:keyword minor_status: Minorstatus. Required.
|
399
|
-
:paramtype minor_status: str
|
400
|
-
:keyword application_status: Applicationstatus. Required.
|
401
|
-
:paramtype application_status: str
|
402
|
-
:keyword status_time: Statustime. Required.
|
403
|
-
:paramtype status_time: ~datetime.datetime
|
404
|
-
:keyword source: Source. Required.
|
405
|
-
:paramtype source: str
|
406
|
-
"""
|
407
|
-
super().__init__(**kwargs)
|
408
|
-
self.status = status
|
409
|
-
self.minor_status = minor_status
|
410
|
-
self.application_status = application_status
|
411
|
-
self.status_time = status_time
|
412
|
-
self.source = source
|
413
|
-
|
414
|
-
|
415
348
|
class JobStatusUpdate(_serialization.Model):
|
416
349
|
"""JobStatusUpdate.
|
417
350
|
|
@@ -504,57 +437,6 @@ class JobSummaryParamsSearchItem(_serialization.Model):
|
|
504
437
|
"""JobSummaryParamsSearchItem."""
|
505
438
|
|
506
439
|
|
507
|
-
class LimitedJobStatusReturn(_serialization.Model):
|
508
|
-
"""LimitedJobStatusReturn.
|
509
|
-
|
510
|
-
All required parameters must be populated in order to send to server.
|
511
|
-
|
512
|
-
:ivar status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
513
|
-
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
514
|
-
"Failed", "Deleted", "Killed", and "Rescheduled".
|
515
|
-
:vartype status: str or ~generated.models.JobStatus
|
516
|
-
:ivar minor_status: Minorstatus. Required.
|
517
|
-
:vartype minor_status: str
|
518
|
-
:ivar application_status: Applicationstatus. Required.
|
519
|
-
:vartype application_status: str
|
520
|
-
"""
|
521
|
-
|
522
|
-
_validation = {
|
523
|
-
"status": {"required": True},
|
524
|
-
"minor_status": {"required": True},
|
525
|
-
"application_status": {"required": True},
|
526
|
-
}
|
527
|
-
|
528
|
-
_attribute_map = {
|
529
|
-
"status": {"key": "Status", "type": "str"},
|
530
|
-
"minor_status": {"key": "MinorStatus", "type": "str"},
|
531
|
-
"application_status": {"key": "ApplicationStatus", "type": "str"},
|
532
|
-
}
|
533
|
-
|
534
|
-
def __init__(
|
535
|
-
self,
|
536
|
-
*,
|
537
|
-
status: Union[str, "_models.JobStatus"],
|
538
|
-
minor_status: str,
|
539
|
-
application_status: str,
|
540
|
-
**kwargs: Any,
|
541
|
-
) -> None:
|
542
|
-
"""
|
543
|
-
:keyword status: JobStatus. Required. Known values are: "Submitting", "Received", "Checking",
|
544
|
-
"Staging", "Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed",
|
545
|
-
"Failed", "Deleted", "Killed", and "Rescheduled".
|
546
|
-
:paramtype status: str or ~generated.models.JobStatus
|
547
|
-
:keyword minor_status: Minorstatus. Required.
|
548
|
-
:paramtype minor_status: str
|
549
|
-
:keyword application_status: Applicationstatus. Required.
|
550
|
-
:paramtype application_status: str
|
551
|
-
"""
|
552
|
-
super().__init__(**kwargs)
|
553
|
-
self.status = status
|
554
|
-
self.minor_status = minor_status
|
555
|
-
self.application_status = application_status
|
556
|
-
|
557
|
-
|
558
440
|
class Metadata(_serialization.Model):
|
559
441
|
"""Metadata.
|
560
442
|
|
@@ -788,6 +670,45 @@ class ScalarSearchSpecValue(_serialization.Model):
|
|
788
670
|
class SetJobStatusReturn(_serialization.Model):
|
789
671
|
"""SetJobStatusReturn.
|
790
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
|
+
|
791
712
|
:ivar status: JobStatus. Known values are: "Submitting", "Received", "Checking", "Staging",
|
792
713
|
"Waiting", "Matched", "Running", "Stalled", "Completing", "Done", "Completed", "Failed",
|
793
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.
|
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
|
8
|
-
|
9
|
-
|
10
|
-
from .
|
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 *
|
19
|
+
from ._patch import *
|
14
20
|
from ._patch import patch_sdk as _patch_sdk
|
15
21
|
|
16
22
|
__all__ = [
|