mergetbapi 1.3.45__tar.gz → 1.3.47__tar.gz
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.
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/PKG-INFO +1 -1
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/portal/v1/__init__.py +45 -31
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/LICENSE.md +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/README.md +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/xir/__init__.py +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/setup.cfg +0 -0
- {mergetbapi-1.3.45 → mergetbapi-1.3.47}/setup.py +0 -0
|
@@ -25,7 +25,6 @@ from ... import (
|
|
|
25
25
|
xir as __xir__,
|
|
26
26
|
)
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
if TYPE_CHECKING:
|
|
30
29
|
import grpclib.server
|
|
31
30
|
from betterproto.grpc.grpclib_client import MetadataLike
|
|
@@ -58,6 +57,11 @@ class TaskStatusStatusType(betterproto.Enum):
|
|
|
58
57
|
Error = 6
|
|
59
58
|
|
|
60
59
|
|
|
60
|
+
class DurationCode(betterproto.Enum):
|
|
61
|
+
given = 0
|
|
62
|
+
never = 1
|
|
63
|
+
|
|
64
|
+
|
|
61
65
|
class AccessMode(betterproto.Enum):
|
|
62
66
|
Public = 0
|
|
63
67
|
Protected = 1
|
|
@@ -153,11 +157,6 @@ class ArtifactGetDetail(betterproto.Enum):
|
|
|
153
157
|
MetaOnly = 2
|
|
154
158
|
|
|
155
159
|
|
|
156
|
-
class PortalDurationCode(betterproto.Enum):
|
|
157
|
-
given = 0
|
|
158
|
-
never = 1
|
|
159
|
-
|
|
160
|
-
|
|
161
160
|
class DiagnosticLevel(betterproto.Enum):
|
|
162
161
|
DiagUnspec = 0
|
|
163
162
|
Error = 1
|
|
@@ -439,6 +438,27 @@ class TaskSummary(betterproto.Message):
|
|
|
439
438
|
messages: List["TaskMessage"] = betterproto.message_field(4)
|
|
440
439
|
|
|
441
440
|
|
|
441
|
+
@dataclass(eq=False, repr=False)
|
|
442
|
+
class Duration(betterproto.Message):
|
|
443
|
+
when: "DurationCode" = betterproto.enum_field(1)
|
|
444
|
+
duration: str = betterproto.string_field(2)
|
|
445
|
+
"""
|
|
446
|
+
How long to reserve the resources of the realization. After the duration
|
|
447
|
+
ends the realization is available to be forcibly relinquished to free
|
|
448
|
+
reserved resources.
|
|
449
|
+
|
|
450
|
+
The format of the duration follows the golang time.ParseDuration with
|
|
451
|
+
extra fields for weeks and days prepending the golang duration.
|
|
452
|
+
|
|
453
|
+
Example: 2 weeks, 3 days, 4 hours, 5 seconds is "2w3d4h5s".
|
|
454
|
+
|
|
455
|
+
Any field may be absent. "2w4h" is 2 weeks for hours.
|
|
456
|
+
A day is 24 hours. A week is 7 days.
|
|
457
|
+
|
|
458
|
+
Only used if "when" is "given".
|
|
459
|
+
"""
|
|
460
|
+
|
|
461
|
+
|
|
442
462
|
@dataclass(eq=False, repr=False)
|
|
443
463
|
class AccessModeUpdate(betterproto.Message):
|
|
444
464
|
value: "AccessMode" = betterproto.enum_field(1)
|
|
@@ -524,6 +544,7 @@ class User(betterproto.Message):
|
|
|
524
544
|
email: str = betterproto.string_field(15)
|
|
525
545
|
country: str = betterproto.string_field(16)
|
|
526
546
|
usstate: str = betterproto.string_field(17)
|
|
547
|
+
created: datetime = betterproto.message_field(18)
|
|
527
548
|
|
|
528
549
|
|
|
529
550
|
@dataclass(eq=False, repr=False)
|
|
@@ -627,6 +648,11 @@ class UpdateUserRequest(betterproto.Message):
|
|
|
627
648
|
(Only useful if your portal supports email validation.)
|
|
628
649
|
"""
|
|
629
650
|
|
|
651
|
+
demo_duration: "Duration" = betterproto.message_field(16)
|
|
652
|
+
"""
|
|
653
|
+
DemoDuration - if demo mode is active, how long until the user's demo mode expires.
|
|
654
|
+
"""
|
|
655
|
+
|
|
630
656
|
|
|
631
657
|
@dataclass(eq=False, repr=False)
|
|
632
658
|
class UpdateUserResponse(betterproto.Message):
|
|
@@ -733,6 +759,7 @@ class Project(betterproto.Message):
|
|
|
733
759
|
org_membership: "Member" = betterproto.message_field(10)
|
|
734
760
|
category: str = betterproto.string_field(11)
|
|
735
761
|
subcategory: str = betterproto.string_field(12)
|
|
762
|
+
created: datetime = betterproto.message_field(13)
|
|
736
763
|
|
|
737
764
|
|
|
738
765
|
@dataclass(eq=False, repr=False)
|
|
@@ -901,6 +928,8 @@ class Experiment(betterproto.Message):
|
|
|
901
928
|
Experiment version, increments each time experiment metadata is updated.
|
|
902
929
|
"""
|
|
903
930
|
|
|
931
|
+
created: datetime = betterproto.message_field(10)
|
|
932
|
+
|
|
904
933
|
|
|
905
934
|
@dataclass(eq=False, repr=False)
|
|
906
935
|
class GetExperimentsRequest(betterproto.Message):
|
|
@@ -1027,6 +1056,7 @@ class Organization(betterproto.Message):
|
|
|
1027
1056
|
|
|
1028
1057
|
category: str = betterproto.string_field(9)
|
|
1029
1058
|
subcategory: str = betterproto.string_field(10)
|
|
1059
|
+
created: datetime = betterproto.message_field(11)
|
|
1030
1060
|
|
|
1031
1061
|
|
|
1032
1062
|
@dataclass(eq=False, repr=False)
|
|
@@ -2103,27 +2133,6 @@ class UpdateIdentityResponse(betterproto.Message):
|
|
|
2103
2133
|
pass
|
|
2104
2134
|
|
|
2105
2135
|
|
|
2106
|
-
@dataclass(eq=False, repr=False)
|
|
2107
|
-
class PortalDuration(betterproto.Message):
|
|
2108
|
-
when: "PortalDurationCode" = betterproto.enum_field(1)
|
|
2109
|
-
duration: str = betterproto.string_field(2)
|
|
2110
|
-
"""
|
|
2111
|
-
How long to reserve the resources of the realization. After the duration
|
|
2112
|
-
ends the realization is available to be forcibly relinquished to free
|
|
2113
|
-
reserved resources.
|
|
2114
|
-
|
|
2115
|
-
The format of the duration follows the golang time.ParseDuration with
|
|
2116
|
-
extra fields for weeks and days prepending the golang duration.
|
|
2117
|
-
|
|
2118
|
-
Example: 2 weeks, 3 days, 4 hours, 5 seconds is "2w3d4h5s".
|
|
2119
|
-
|
|
2120
|
-
Any field may be absent. "2w4h" is 2 weeks for hours.
|
|
2121
|
-
A day is 24 hours. A week is 7 days.
|
|
2122
|
-
|
|
2123
|
-
Only used if "when" is "given".
|
|
2124
|
-
"""
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
2136
|
@dataclass(eq=False, repr=False)
|
|
2128
2137
|
class CountSet(betterproto.Message):
|
|
2129
2138
|
name: str = betterproto.string_field(1)
|
|
@@ -2534,7 +2543,8 @@ class RealizeRequest(betterproto.Message):
|
|
|
2534
2543
|
Only one of revision, tag, or branch is allowed.
|
|
2535
2544
|
"""
|
|
2536
2545
|
|
|
2537
|
-
duration: "
|
|
2546
|
+
duration: "Duration" = betterproto.message_field(10)
|
|
2547
|
+
created: datetime = betterproto.message_field(11)
|
|
2538
2548
|
|
|
2539
2549
|
|
|
2540
2550
|
@dataclass(eq=False, repr=False)
|
|
@@ -2594,7 +2604,7 @@ class UpdateRealizationRequest(betterproto.Message):
|
|
|
2594
2604
|
project: str = betterproto.string_field(1)
|
|
2595
2605
|
experiment: str = betterproto.string_field(2)
|
|
2596
2606
|
realization: str = betterproto.string_field(3)
|
|
2597
|
-
duration: "
|
|
2607
|
+
duration: "Duration" = betterproto.message_field(4)
|
|
2598
2608
|
|
|
2599
2609
|
|
|
2600
2610
|
@dataclass(eq=False, repr=False)
|
|
@@ -2634,6 +2644,8 @@ class Materialization(betterproto.Message):
|
|
|
2634
2644
|
link_emulation: "LinkEmulationParams" = betterproto.message_field(12)
|
|
2635
2645
|
"""Moa"""
|
|
2636
2646
|
|
|
2647
|
+
created: datetime = betterproto.message_field(13)
|
|
2648
|
+
|
|
2637
2649
|
|
|
2638
2650
|
@dataclass(eq=False, repr=False)
|
|
2639
2651
|
class MaterializationSummary(betterproto.Message):
|
|
@@ -2977,6 +2989,7 @@ class XdcStorage(betterproto.Message):
|
|
|
2977
2989
|
"""
|
|
2978
2990
|
|
|
2979
2991
|
type: "XdcType" = betterproto.enum_field(11)
|
|
2992
|
+
created: datetime = betterproto.message_field(12)
|
|
2980
2993
|
expires: datetime = betterproto.message_field(13)
|
|
2981
2994
|
"""When this XDC expires and will be deleted."""
|
|
2982
2995
|
|
|
@@ -3026,7 +3039,7 @@ class CreateXdcRequest(betterproto.Message):
|
|
|
3026
3039
|
memlimit: int = betterproto.int32_field(4)
|
|
3027
3040
|
cpulimit: int = betterproto.int32_field(5)
|
|
3028
3041
|
type: "XdcType" = betterproto.enum_field(6)
|
|
3029
|
-
duration: "
|
|
3042
|
+
duration: "Duration" = betterproto.message_field(7)
|
|
3030
3043
|
|
|
3031
3044
|
|
|
3032
3045
|
@dataclass(eq=False, repr=False)
|
|
@@ -3097,7 +3110,7 @@ class UpdateXdcRequest(betterproto.Message):
|
|
|
3097
3110
|
project: str = betterproto.string_field(2)
|
|
3098
3111
|
"""part of the xdc name <xdc>.<project>"""
|
|
3099
3112
|
|
|
3100
|
-
expires: "
|
|
3113
|
+
expires: "Duration" = betterproto.message_field(3)
|
|
3101
3114
|
|
|
3102
3115
|
|
|
3103
3116
|
@dataclass(eq=False, repr=False)
|
|
@@ -3148,6 +3161,7 @@ class WgEnclave(betterproto.Message):
|
|
|
3148
3161
|
client_ips: Dict[str, str] = betterproto.map_field(
|
|
3149
3162
|
6, betterproto.TYPE_STRING, betterproto.TYPE_STRING
|
|
3150
3163
|
)
|
|
3164
|
+
created: datetime = betterproto.message_field(7)
|
|
3151
3165
|
|
|
3152
3166
|
|
|
3153
3167
|
@dataclass(eq=False, repr=False)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mergetbapi-1.3.45 → mergetbapi-1.3.47}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|