Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd4375a

Browse files
authored
Update Core (temporalio#715)
* Update core* Regen protos* Add new cloud svc client methods
1 parent66e7650 commitfd4375a

40 files changed

+4721
-342
lines changed

‎temporalio/api/cloud/account/__init__.py‎

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from .message_pb2importAccount,AccountSpec,Metrics,MetricsSpec
2+
3+
__all__= [
4+
"Account",
5+
"AccountSpec",
6+
"Metrics",
7+
"MetricsSpec",
8+
]

‎temporalio/api/cloud/account/v1/message_pb2.py‎

Lines changed: 85 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
6+
importbuiltins
7+
importsys
8+
9+
importgoogle.protobuf.descriptor
10+
importgoogle.protobuf.message
11+
12+
importtemporalio.api.cloud.resource.v1.message_pb2
13+
14+
ifsys.version_info>= (3,8):
15+
importtypingastyping_extensions
16+
else:
17+
importtyping_extensions
18+
19+
DESCRIPTOR:google.protobuf.descriptor.FileDescriptor
20+
21+
classMetricsSpec(google.protobuf.message.Message):
22+
DESCRIPTOR:google.protobuf.descriptor.Descriptor
23+
24+
ACCEPTED_CLIENT_CA_FIELD_NUMBER:builtins.int
25+
accepted_client_ca:builtins.bytes
26+
"""The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
27+
This must only be one value, but the CA can have a chain.
28+
"""
29+
def__init__(
30+
self,
31+
*,
32+
accepted_client_ca:builtins.bytes= ...,
33+
)->None: ...
34+
defClearField(
35+
self,
36+
field_name:typing_extensions.Literal[
37+
"accepted_client_ca",b"accepted_client_ca"
38+
],
39+
)->None: ...
40+
41+
global___MetricsSpec=MetricsSpec
42+
43+
classAccountSpec(google.protobuf.message.Message):
44+
DESCRIPTOR:google.protobuf.descriptor.Descriptor
45+
46+
METRICS_FIELD_NUMBER:builtins.int
47+
@property
48+
defmetrics(self)->global___MetricsSpec:
49+
"""The metrics specification for this account.
50+
If not specified, metrics will not be enabled.
51+
"""
52+
def__init__(
53+
self,
54+
*,
55+
metrics:global___MetricsSpec|None= ...,
56+
)->None: ...
57+
defHasField(
58+
self,field_name:typing_extensions.Literal["metrics",b"metrics"]
59+
)->builtins.bool: ...
60+
defClearField(
61+
self,field_name:typing_extensions.Literal["metrics",b"metrics"]
62+
)->None: ...
63+
64+
global___AccountSpec=AccountSpec
65+
66+
classMetrics(google.protobuf.message.Message):
67+
DESCRIPTOR:google.protobuf.descriptor.Descriptor
68+
69+
URI_FIELD_NUMBER:builtins.int
70+
uri:builtins.str
71+
"""The prometheus metrics endpoint uri.
72+
This is only populated when the metrics is enabled in the metrics specification.
73+
"""
74+
def__init__(
75+
self,
76+
*,
77+
uri:builtins.str= ...,
78+
)->None: ...
79+
defClearField(
80+
self,field_name:typing_extensions.Literal["uri",b"uri"]
81+
)->None: ...
82+
83+
global___Metrics=Metrics
84+
85+
classAccount(google.protobuf.message.Message):
86+
DESCRIPTOR:google.protobuf.descriptor.Descriptor
87+
88+
ID_FIELD_NUMBER:builtins.int
89+
SPEC_FIELD_NUMBER:builtins.int
90+
RESOURCE_VERSION_FIELD_NUMBER:builtins.int
91+
STATE_FIELD_NUMBER:builtins.int
92+
ASYNC_OPERATION_ID_FIELD_NUMBER:builtins.int
93+
METRICS_FIELD_NUMBER:builtins.int
94+
id:builtins.str
95+
"""The id of the account."""
96+
@property
97+
defspec(self)->global___AccountSpec:
98+
"""The account specification."""
99+
resource_version:builtins.str
100+
"""The current version of the account specification.
101+
The next update operation will have to include this version.
102+
"""
103+
state:temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType
104+
"""The current state of the account."""
105+
async_operation_id:builtins.str
106+
"""The id of the async operation that is updating the account, if any."""
107+
@property
108+
defmetrics(self)->global___Metrics:
109+
"""Information related to metrics."""
110+
def__init__(
111+
self,
112+
*,
113+
id:builtins.str= ...,
114+
spec:global___AccountSpec|None= ...,
115+
resource_version:builtins.str= ...,
116+
state:temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType= ...,
117+
async_operation_id:builtins.str= ...,
118+
metrics:global___Metrics|None= ...,
119+
)->None: ...
120+
defHasField(
121+
self,
122+
field_name:typing_extensions.Literal["metrics",b"metrics","spec",b"spec"],
123+
)->builtins.bool: ...
124+
defClearField(
125+
self,
126+
field_name:typing_extensions.Literal[
127+
"async_operation_id",
128+
b"async_operation_id",
129+
"id",
130+
b"id",
131+
"metrics",
132+
b"metrics",
133+
"resource_version",
134+
b"resource_version",
135+
"spec",
136+
b"spec",
137+
"state",
138+
b"state",
139+
],
140+
)->None: ...
141+
142+
global___Account=Account

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp