weave-python 0.28.1__py3-none-any.whl → 0.30.3__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.
Files changed (105) hide show
  1. weave/weaveapi/auth/v1/service_pb2.py +194 -98
  2. weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
  3. weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
  4. weave/weaveapi/auth/v1/session_pb2.py +14 -6
  5. weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
  6. weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
  7. weave/weaveapi/auth/v1/usage_pb2.py +18 -14
  8. weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
  9. weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
  10. weave/weaveapi/auth/v1/user_pb2.py +60 -18
  11. weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
  12. weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
  13. weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
  14. weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
  15. weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
  16. weave/weaveapi/generate/v1/generate_pb2.py +32 -6
  17. weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
  18. weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
  19. weave/weaveapi/generate/v1/service_pb2.py +52 -22
  20. weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
  21. weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
  22. weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
  23. weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
  24. weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
  25. weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
  26. weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
  27. weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
  28. weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
  29. weave/weaveapi/llmx/v1/model_pb2.py +56 -20
  30. weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
  31. weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
  32. weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
  33. weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
  34. weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
  35. weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
  36. weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
  37. weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
  38. weave/weaveapi/llmx/v1/service_pb2.py +228 -90
  39. weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
  40. weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
  41. weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
  42. weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
  43. weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
  44. weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
  45. weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
  46. weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
  47. weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
  48. weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
  49. weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
  50. weave/weaveapi/payment/v1/service_pb2.py +264 -98
  51. weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
  52. weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
  53. weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
  54. weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
  55. weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
  56. weave/weaveapi/storage/v1/auth_pb2.py +6 -6
  57. weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
  58. weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
  59. weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
  60. weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
  61. weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
  62. weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
  63. weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
  64. weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
  65. weave/weaveapi/storage/v1/service_pb2.py +96 -36
  66. weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
  67. weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
  68. weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
  69. weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
  70. weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
  71. weave/weaveapi/storage/v1/storage_pb2.py +20 -6
  72. weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
  73. weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
  74. weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
  75. weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
  76. weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
  77. weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
  78. weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
  79. weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
  80. weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
  81. weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
  82. weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
  83. weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
  84. weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
  85. weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
  86. weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
  87. weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
  88. weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
  89. weave/weavesql/llmxdb/capabilities.py +487 -0
  90. weave/weavesql/llmxdb/changes.py +297 -0
  91. weave/weavesql/llmxdb/models.py +594 -0
  92. weave/weavesql/llmxdb/providers.py +348 -0
  93. weave/weavesql/llmxdb/scraper_runs.py +287 -0
  94. weave/weavesql/llmxdb/search.py +721 -0
  95. weave/weavesql/weavedb/dataset.py +75 -0
  96. weave/weavesql/weavedb/models.py +135 -0
  97. weave/weavesql/weavedb/relationships.py +72 -0
  98. weave/weavesql/weavedb/storage.py +113 -0
  99. weave/weavesql/weavedb/synthesizer.py +107 -0
  100. weave_python-0.30.3.dist-info/METADATA +52 -0
  101. weave_python-0.30.3.dist-info/RECORD +131 -0
  102. {weave_python-0.28.1.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
  103. weave_python-0.30.3.dist-info/licenses/LICENSE +120 -0
  104. weave_python-0.28.1.dist-info/METADATA +0 -6
  105. weave_python-0.28.1.dist-info/RECORD +0 -119
@@ -3,239 +3,293 @@
3
3
  isort:skip_file
4
4
  """
5
5
 
6
- import builtins
7
- import collections.abc
8
- import google.protobuf.descriptor
9
- import google.protobuf.internal.containers
10
- import google.protobuf.message
11
- import google.protobuf.timestamp_pb2
12
- import typing
13
-
14
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
-
16
- @typing.final
17
- class UsageStats(google.protobuf.message.Message):
18
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
-
20
- @typing.final
21
- class RequestsByEndpointEntry(google.protobuf.message.Message):
22
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
23
-
24
- KEY_FIELD_NUMBER: builtins.int
25
- VALUE_FIELD_NUMBER: builtins.int
26
- key: builtins.str
27
- value: builtins.int
6
+ from collections import abc as _abc
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
10
+ from google.protobuf.internal import containers as _containers
11
+ import builtins as _builtins
12
+ import sys
13
+ import typing as _typing
14
+
15
+ if sys.version_info >= (3, 10):
16
+ from typing import TypeAlias as _TypeAlias
17
+ else:
18
+ from typing_extensions import TypeAlias as _TypeAlias
19
+
20
+ DESCRIPTOR: _descriptor.FileDescriptor
21
+
22
+ @_typing.final
23
+ class UsageStats(_message.Message):
24
+ DESCRIPTOR: _descriptor.Descriptor
25
+
26
+ @_typing.final
27
+ class RequestsByEndpointEntry(_message.Message):
28
+ DESCRIPTOR: _descriptor.Descriptor
29
+
30
+ KEY_FIELD_NUMBER: _builtins.int
31
+ VALUE_FIELD_NUMBER: _builtins.int
32
+ key: _builtins.str
33
+ value: _builtins.int
28
34
  def __init__(
29
35
  self,
30
36
  *,
31
- key: builtins.str = ...,
32
- value: builtins.int = ...,
33
- ) -> None: ...
34
- def ClearField(
35
- self, field_name: typing.Literal["key", b"key", "value", b"value"]
37
+ key: _builtins.str | None = ...,
38
+ value: _builtins.int | None = ...,
36
39
  ) -> None: ...
40
+ _HasFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
41
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
42
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
43
+ "key", b"key", "value", b"value"
44
+ ] # noqa: Y015
45
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
37
46
 
38
- @typing.final
39
- class RequestsByDayEntry(google.protobuf.message.Message):
40
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
47
+ @_typing.final
48
+ class RequestsByDayEntry(_message.Message):
49
+ DESCRIPTOR: _descriptor.Descriptor
41
50
 
42
- KEY_FIELD_NUMBER: builtins.int
43
- VALUE_FIELD_NUMBER: builtins.int
44
- key: builtins.str
45
- value: builtins.int
51
+ KEY_FIELD_NUMBER: _builtins.int
52
+ VALUE_FIELD_NUMBER: _builtins.int
53
+ key: _builtins.str
54
+ value: _builtins.int
46
55
  def __init__(
47
56
  self,
48
57
  *,
49
- key: builtins.str = ...,
50
- value: builtins.int = ...,
51
- ) -> None: ...
52
- def ClearField(
53
- self, field_name: typing.Literal["key", b"key", "value", b"value"]
58
+ key: _builtins.str | None = ...,
59
+ value: _builtins.int | None = ...,
54
60
  ) -> None: ...
61
+ _HasFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
62
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
63
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
64
+ "key", b"key", "value", b"value"
65
+ ] # noqa: Y015
66
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
55
67
 
56
- @typing.final
57
- class RequestsByApiKeyEntry(google.protobuf.message.Message):
58
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
68
+ @_typing.final
69
+ class RequestsByApiKeyEntry(_message.Message):
70
+ DESCRIPTOR: _descriptor.Descriptor
59
71
 
60
- KEY_FIELD_NUMBER: builtins.int
61
- VALUE_FIELD_NUMBER: builtins.int
62
- key: builtins.str
63
- value: builtins.int
72
+ KEY_FIELD_NUMBER: _builtins.int
73
+ VALUE_FIELD_NUMBER: _builtins.int
74
+ key: _builtins.str
75
+ value: _builtins.int
64
76
  def __init__(
65
77
  self,
66
78
  *,
67
- key: builtins.str = ...,
68
- value: builtins.int = ...,
69
- ) -> None: ...
70
- def ClearField(
71
- self, field_name: typing.Literal["key", b"key", "value", b"value"]
79
+ key: _builtins.str | None = ...,
80
+ value: _builtins.int | None = ...,
72
81
  ) -> None: ...
82
+ _HasFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
83
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
84
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
85
+ "key", b"key", "value", b"value"
86
+ ] # noqa: Y015
87
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
73
88
 
74
- PERIOD_FIELD_NUMBER: builtins.int
75
- START_DATE_FIELD_NUMBER: builtins.int
76
- END_DATE_FIELD_NUMBER: builtins.int
77
- TOTAL_REQUESTS_FIELD_NUMBER: builtins.int
78
- SUCCESSFUL_REQUESTS_FIELD_NUMBER: builtins.int
79
- FAILED_REQUESTS_FIELD_NUMBER: builtins.int
80
- RATE_LIMITED_REQUESTS_FIELD_NUMBER: builtins.int
81
- REQUESTS_BY_ENDPOINT_FIELD_NUMBER: builtins.int
82
- REQUESTS_BY_DAY_FIELD_NUMBER: builtins.int
83
- REQUESTS_BY_API_KEY_FIELD_NUMBER: builtins.int
84
- AVG_RESPONSE_TIME_MS_FIELD_NUMBER: builtins.int
85
- P95_RESPONSE_TIME_MS_FIELD_NUMBER: builtins.int
86
- P99_RESPONSE_TIME_MS_FIELD_NUMBER: builtins.int
87
- TOTAL_BYTES_SENT_FIELD_NUMBER: builtins.int
88
- TOTAL_BYTES_RECEIVED_FIELD_NUMBER: builtins.int
89
- period: builtins.str
90
- total_requests: builtins.int
89
+ PERIOD_FIELD_NUMBER: _builtins.int
90
+ START_DATE_FIELD_NUMBER: _builtins.int
91
+ END_DATE_FIELD_NUMBER: _builtins.int
92
+ TOTAL_REQUESTS_FIELD_NUMBER: _builtins.int
93
+ SUCCESSFUL_REQUESTS_FIELD_NUMBER: _builtins.int
94
+ FAILED_REQUESTS_FIELD_NUMBER: _builtins.int
95
+ RATE_LIMITED_REQUESTS_FIELD_NUMBER: _builtins.int
96
+ REQUESTS_BY_ENDPOINT_FIELD_NUMBER: _builtins.int
97
+ REQUESTS_BY_DAY_FIELD_NUMBER: _builtins.int
98
+ REQUESTS_BY_API_KEY_FIELD_NUMBER: _builtins.int
99
+ AVG_RESPONSE_TIME_MS_FIELD_NUMBER: _builtins.int
100
+ P95_RESPONSE_TIME_MS_FIELD_NUMBER: _builtins.int
101
+ P99_RESPONSE_TIME_MS_FIELD_NUMBER: _builtins.int
102
+ TOTAL_BYTES_SENT_FIELD_NUMBER: _builtins.int
103
+ TOTAL_BYTES_RECEIVED_FIELD_NUMBER: _builtins.int
104
+ period: _builtins.str
105
+ total_requests: _builtins.int
91
106
  """Request counts"""
92
- successful_requests: builtins.int
93
- failed_requests: builtins.int
94
- rate_limited_requests: builtins.int
95
- avg_response_time_ms: builtins.float
107
+ successful_requests: _builtins.int
108
+ failed_requests: _builtins.int
109
+ rate_limited_requests: _builtins.int
110
+ avg_response_time_ms: _builtins.float
96
111
  """Response times"""
97
- p95_response_time_ms: builtins.float
98
- p99_response_time_ms: builtins.float
99
- total_bytes_sent: builtins.int
112
+ p95_response_time_ms: _builtins.float
113
+ p99_response_time_ms: _builtins.float
114
+ total_bytes_sent: _builtins.int
100
115
  """Data transfer"""
101
- total_bytes_received: builtins.int
102
- @property
103
- def start_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
104
- @property
105
- def end_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
106
- @property
116
+ total_bytes_received: _builtins.int
117
+ @_builtins.property
118
+ def start_date(self) -> _timestamp_pb2.Timestamp: ...
119
+ @_builtins.property
120
+ def end_date(self) -> _timestamp_pb2.Timestamp: ...
121
+ @_builtins.property
107
122
  def requests_by_endpoint(
108
123
  self,
109
- ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]:
124
+ ) -> _containers.ScalarMap[_builtins.str, _builtins.int]:
110
125
  """Breakdown"""
111
126
 
112
- @property
127
+ @_builtins.property
113
128
  def requests_by_day(
114
129
  self,
115
- ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ...
116
- @property
130
+ ) -> _containers.ScalarMap[_builtins.str, _builtins.int]: ...
131
+ @_builtins.property
117
132
  def requests_by_api_key(
118
133
  self,
119
- ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ...
134
+ ) -> _containers.ScalarMap[_builtins.str, _builtins.int]: ...
120
135
  def __init__(
121
136
  self,
122
137
  *,
123
- period: builtins.str = ...,
124
- start_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
125
- end_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
126
- total_requests: builtins.int = ...,
127
- successful_requests: builtins.int = ...,
128
- failed_requests: builtins.int = ...,
129
- rate_limited_requests: builtins.int = ...,
130
- requests_by_endpoint: collections.abc.Mapping[builtins.str, builtins.int]
131
- | None = ...,
132
- requests_by_day: collections.abc.Mapping[builtins.str, builtins.int]
133
- | None = ...,
134
- requests_by_api_key: collections.abc.Mapping[builtins.str, builtins.int]
135
- | None = ...,
136
- avg_response_time_ms: builtins.float = ...,
137
- p95_response_time_ms: builtins.float = ...,
138
- p99_response_time_ms: builtins.float = ...,
139
- total_bytes_sent: builtins.int = ...,
140
- total_bytes_received: builtins.int = ...,
141
- ) -> None: ...
142
- def HasField(
143
- self,
144
- field_name: typing.Literal[
145
- "end_date", b"end_date", "start_date", b"start_date"
146
- ],
147
- ) -> builtins.bool: ...
148
- def ClearField(
149
- self,
150
- field_name: typing.Literal[
151
- "avg_response_time_ms",
152
- b"avg_response_time_ms",
153
- "end_date",
154
- b"end_date",
155
- "failed_requests",
156
- b"failed_requests",
157
- "p95_response_time_ms",
158
- b"p95_response_time_ms",
159
- "p99_response_time_ms",
160
- b"p99_response_time_ms",
161
- "period",
162
- b"period",
163
- "rate_limited_requests",
164
- b"rate_limited_requests",
165
- "requests_by_api_key",
166
- b"requests_by_api_key",
167
- "requests_by_day",
168
- b"requests_by_day",
169
- "requests_by_endpoint",
170
- b"requests_by_endpoint",
171
- "start_date",
172
- b"start_date",
173
- "successful_requests",
174
- b"successful_requests",
175
- "total_bytes_received",
176
- b"total_bytes_received",
177
- "total_bytes_sent",
178
- b"total_bytes_sent",
179
- "total_requests",
180
- b"total_requests",
181
- ],
138
+ period: _builtins.str | None = ...,
139
+ start_date: _timestamp_pb2.Timestamp | None = ...,
140
+ end_date: _timestamp_pb2.Timestamp | None = ...,
141
+ total_requests: _builtins.int | None = ...,
142
+ successful_requests: _builtins.int | None = ...,
143
+ failed_requests: _builtins.int | None = ...,
144
+ rate_limited_requests: _builtins.int | None = ...,
145
+ requests_by_endpoint: _abc.Mapping[_builtins.str, _builtins.int] | None = ...,
146
+ requests_by_day: _abc.Mapping[_builtins.str, _builtins.int] | None = ...,
147
+ requests_by_api_key: _abc.Mapping[_builtins.str, _builtins.int] | None = ...,
148
+ avg_response_time_ms: _builtins.float | None = ...,
149
+ p95_response_time_ms: _builtins.float | None = ...,
150
+ p99_response_time_ms: _builtins.float | None = ...,
151
+ total_bytes_sent: _builtins.int | None = ...,
152
+ total_bytes_received: _builtins.int | None = ...,
182
153
  ) -> None: ...
154
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
155
+ "avg_response_time_ms",
156
+ b"avg_response_time_ms",
157
+ "end_date",
158
+ b"end_date",
159
+ "failed_requests",
160
+ b"failed_requests",
161
+ "p95_response_time_ms",
162
+ b"p95_response_time_ms",
163
+ "p99_response_time_ms",
164
+ b"p99_response_time_ms",
165
+ "period",
166
+ b"period",
167
+ "rate_limited_requests",
168
+ b"rate_limited_requests",
169
+ "requests_by_api_key",
170
+ b"requests_by_api_key",
171
+ "requests_by_day",
172
+ b"requests_by_day",
173
+ "requests_by_endpoint",
174
+ b"requests_by_endpoint",
175
+ "start_date",
176
+ b"start_date",
177
+ "successful_requests",
178
+ b"successful_requests",
179
+ "total_bytes_received",
180
+ b"total_bytes_received",
181
+ "total_bytes_sent",
182
+ b"total_bytes_sent",
183
+ "total_requests",
184
+ b"total_requests",
185
+ ] # noqa: Y015
186
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
187
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
188
+ "avg_response_time_ms",
189
+ b"avg_response_time_ms",
190
+ "end_date",
191
+ b"end_date",
192
+ "failed_requests",
193
+ b"failed_requests",
194
+ "p95_response_time_ms",
195
+ b"p95_response_time_ms",
196
+ "p99_response_time_ms",
197
+ b"p99_response_time_ms",
198
+ "period",
199
+ b"period",
200
+ "rate_limited_requests",
201
+ b"rate_limited_requests",
202
+ "requests_by_api_key",
203
+ b"requests_by_api_key",
204
+ "requests_by_day",
205
+ b"requests_by_day",
206
+ "requests_by_endpoint",
207
+ b"requests_by_endpoint",
208
+ "start_date",
209
+ b"start_date",
210
+ "successful_requests",
211
+ b"successful_requests",
212
+ "total_bytes_received",
213
+ b"total_bytes_received",
214
+ "total_bytes_sent",
215
+ b"total_bytes_sent",
216
+ "total_requests",
217
+ b"total_requests",
218
+ ] # noqa: Y015
219
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
220
+
221
+ Global___UsageStats: _TypeAlias = UsageStats # noqa: Y015
183
222
 
184
- global___UsageStats = UsageStats
185
-
186
- @typing.final
187
- class UsageLimits(google.protobuf.message.Message):
188
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
189
-
190
- TIER_FIELD_NUMBER: builtins.int
191
- REQUESTS_PER_HOUR_FIELD_NUMBER: builtins.int
192
- REQUESTS_PER_DAY_FIELD_NUMBER: builtins.int
193
- REQUESTS_PER_MONTH_FIELD_NUMBER: builtins.int
194
- API_KEYS_ALLOWED_FIELD_NUMBER: builtins.int
195
- CONCURRENT_REQUESTS_FIELD_NUMBER: builtins.int
196
- WEBHOOK_ACCESS_FIELD_NUMBER: builtins.int
197
- EXPORT_ACCESS_FIELD_NUMBER: builtins.int
198
- tier: builtins.str
223
+ @_typing.final
224
+ class UsageLimits(_message.Message):
225
+ DESCRIPTOR: _descriptor.Descriptor
226
+
227
+ TIER_FIELD_NUMBER: _builtins.int
228
+ REQUESTS_PER_HOUR_FIELD_NUMBER: _builtins.int
229
+ REQUESTS_PER_DAY_FIELD_NUMBER: _builtins.int
230
+ REQUESTS_PER_MONTH_FIELD_NUMBER: _builtins.int
231
+ API_KEYS_ALLOWED_FIELD_NUMBER: _builtins.int
232
+ CONCURRENT_REQUESTS_FIELD_NUMBER: _builtins.int
233
+ WEBHOOK_ACCESS_FIELD_NUMBER: _builtins.int
234
+ EXPORT_ACCESS_FIELD_NUMBER: _builtins.int
235
+ tier: _builtins.str
199
236
  """free, pro"""
200
- requests_per_hour: builtins.int
201
- requests_per_day: builtins.int
202
- requests_per_month: builtins.int
203
- api_keys_allowed: builtins.int
204
- concurrent_requests: builtins.int
205
- webhook_access: builtins.bool
206
- export_access: builtins.bool
237
+ requests_per_hour: _builtins.int
238
+ requests_per_day: _builtins.int
239
+ requests_per_month: _builtins.int
240
+ api_keys_allowed: _builtins.int
241
+ concurrent_requests: _builtins.int
242
+ webhook_access: _builtins.bool
243
+ export_access: _builtins.bool
207
244
  def __init__(
208
245
  self,
209
246
  *,
210
- tier: builtins.str = ...,
211
- requests_per_hour: builtins.int = ...,
212
- requests_per_day: builtins.int = ...,
213
- requests_per_month: builtins.int = ...,
214
- api_keys_allowed: builtins.int = ...,
215
- concurrent_requests: builtins.int = ...,
216
- webhook_access: builtins.bool = ...,
217
- export_access: builtins.bool = ...,
218
- ) -> None: ...
219
- def ClearField(
220
- self,
221
- field_name: typing.Literal[
222
- "api_keys_allowed",
223
- b"api_keys_allowed",
224
- "concurrent_requests",
225
- b"concurrent_requests",
226
- "export_access",
227
- b"export_access",
228
- "requests_per_day",
229
- b"requests_per_day",
230
- "requests_per_hour",
231
- b"requests_per_hour",
232
- "requests_per_month",
233
- b"requests_per_month",
234
- "tier",
235
- b"tier",
236
- "webhook_access",
237
- b"webhook_access",
238
- ],
247
+ tier: _builtins.str | None = ...,
248
+ requests_per_hour: _builtins.int | None = ...,
249
+ requests_per_day: _builtins.int | None = ...,
250
+ requests_per_month: _builtins.int | None = ...,
251
+ api_keys_allowed: _builtins.int | None = ...,
252
+ concurrent_requests: _builtins.int | None = ...,
253
+ webhook_access: _builtins.bool | None = ...,
254
+ export_access: _builtins.bool | None = ...,
239
255
  ) -> None: ...
256
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
257
+ "api_keys_allowed",
258
+ b"api_keys_allowed",
259
+ "concurrent_requests",
260
+ b"concurrent_requests",
261
+ "export_access",
262
+ b"export_access",
263
+ "requests_per_day",
264
+ b"requests_per_day",
265
+ "requests_per_hour",
266
+ b"requests_per_hour",
267
+ "requests_per_month",
268
+ b"requests_per_month",
269
+ "tier",
270
+ b"tier",
271
+ "webhook_access",
272
+ b"webhook_access",
273
+ ] # noqa: Y015
274
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
275
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
276
+ "api_keys_allowed",
277
+ b"api_keys_allowed",
278
+ "concurrent_requests",
279
+ b"concurrent_requests",
280
+ "export_access",
281
+ b"export_access",
282
+ "requests_per_day",
283
+ b"requests_per_day",
284
+ "requests_per_hour",
285
+ b"requests_per_hour",
286
+ "requests_per_month",
287
+ b"requests_per_month",
288
+ "tier",
289
+ b"tier",
290
+ "webhook_access",
291
+ b"webhook_access",
292
+ ] # noqa: Y015
293
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
240
294
 
241
- global___UsageLimits = UsageLimits
295
+ Global___UsageLimits: _TypeAlias = UsageLimits # noqa: Y015
@@ -3,18 +3,19 @@
3
3
  isort:skip_file
4
4
  """
5
5
 
6
- import abc
7
- import collections.abc
8
- import grpc
9
- import grpc.aio
10
- import typing
6
+ from collections import abc as _abc
7
+ from grpc import aio as _aio
8
+ import abc as _abc_1
9
+ import grpc as _grpc
10
+ import typing as _typing
11
11
 
12
- _T = typing.TypeVar("_T")
12
+ _T = _typing.TypeVar("_T")
13
13
 
14
14
  class _MaybeAsyncIterator(
15
- collections.abc.AsyncIterator[_T],
16
- collections.abc.Iterator[_T],
17
- metaclass=abc.ABCMeta,
15
+ _abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
18
16
  ): ...
19
- class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
20
18
  ...
19
+
20
+ GRPC_GENERATED_VERSION: str
21
+ GRPC_VERSION: str
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: weaveapi/auth/v1/user.proto
5
- # Protobuf Python Version: 6.32.0
5
+ # Protobuf Python Version: 6.33.5
6
6
  """Generated protocol buffer code."""
7
7
 
8
8
  from google.protobuf import descriptor as _descriptor
@@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database
12
12
  from google.protobuf.internal import builder as _builder
13
13
 
14
14
  _runtime_version.ValidateProtobufRuntimeVersion(
15
- _runtime_version.Domain.PUBLIC, 6, 32, 0, "", "weaveapi/auth/v1/user.proto"
15
+ _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "weaveapi/auth/v1/user.proto"
16
16
  )
17
17
  # @@protoc_insertion_point(imports)
18
18
 
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
20
20
 
21
21
 
22
22
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
23
- b'\n\x1bweaveapi/auth/v1/user.proto\x12\x10weaveapi.auth.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x87\x05\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08username\x18\x03 \x01(\tR\x08username\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12\x1d\n\navatar_url\x18\x05 \x01(\tR\tavatarUrl\x12\x45\n\x0eoauth_accounts\x18\x06 \x03(\x0b\x32\x1e.weaveapi.auth.v1.OAuthAccountR\roauthAccounts\x12)\n\x10primary_provider\x18\x07 \x01(\tR\x0fprimaryProvider\x12\x46\n\x0csubscription\x18\x08 \x01(\x0b\x32".weaveapi.auth.v1.SubscriptionInfoR\x0csubscription\x12%\n\x0e\x61\x63\x63ount_status\x18\t \x01(\tR\raccountStatus\x12%\n\x0e\x65mail_verified\x18\n \x01(\x08R\remailVerified\x12>\n\rlast_login_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0blastLoginAt\x12\x39\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x43\n\x0bpreferences\x18\x0e \x01(\x0b\x32!.weaveapi.auth.v1.UserPreferencesR\x0bpreferences"\xb4\x04\n\x0cOAuthAccount\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12(\n\x10provider_user_id\x18\x02 \x01(\tR\x0eproviderUserId\x12+\n\x11provider_username\x18\x03 \x01(\tR\x10providerUsername\x12%\n\x0eprovider_email\x18\x04 \x01(\tR\rproviderEmail\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x05 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12#\n\rrefresh_token\x18\x06 \x01(\tR\x0crefreshToken\x12\x44\n\x10token_expires_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0etokenExpiresAt\x12\x37\n\tlinked_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08linkedAt\x12<\n\x0clast_used_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nlastUsedAt\x12H\n\x08metadata\x18\n \x03(\x0b\x32,.weaveapi.auth.v1.OAuthAccount.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\x9b\x02\n\rOAuthProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x02 \x01(\tR\x0b\x64isplayName\x12\x19\n\x08icon_url\x18\x03 \x01(\tR\x07iconUrl\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12)\n\x10supported_scopes\x18\x05 \x03(\tR\x0fsupportedScopes\x12#\n\rdefault_scope\x18\x06 \x01(\tR\x0c\x64\x65\x66\x61ultScope\x12)\n\x10supports_refresh\x18\x07 \x01(\x08R\x0fsupportsRefresh\x12#\n\rsupports_pkce\x18\x08 \x01(\x08R\x0csupportsPkce"\xd4\x03\n\x10SubscriptionInfo\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x12\n\x04tier\x18\x02 \x01(\tR\x04tier\x12,\n\x12stripe_customer_id\x18\x03 \x01(\tR\x10stripeCustomerId\x12\x34\n\x16stripe_subscription_id\x18\x04 \x01(\tR\x14stripeSubscriptionId\x12\x39\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x33\n\x07\x65nds_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x06\x65ndsAt\x12=\n\x0c\x63\x61ncelled_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63\x61ncelledAt\x12\x1d\n\nauto_renew\x18\x08 \x01(\x08R\tautoRenew\x12\x30\n\x14payment_method_last4\x18\t \x01(\tR\x12paymentMethodLast4\x12\x30\n\x14payment_method_brand\x18\n \x01(\tR\x12paymentMethodBrand"\xd0\x02\n\x0fUserPreferences\x12/\n\x13\x65mail_notifications\x18\x01 \x01(\x08R\x12\x65mailNotifications\x12\x33\n\x15webhook_notifications\x18\x02 \x01(\x08R\x14webhookNotifications\x12\x1f\n\x0bwebhook_url\x18\x03 \x01(\tR\nwebhookUrl\x12%\n\x0ewebhook_secret\x18\x04 \x01(\tR\rwebhookSecret\x12%\n\x0ewatched_models\x18\x05 \x03(\tR\rwatchedModels\x12+\n\x11watched_providers\x18\x06 \x03(\tR\x10watchedProviders\x12\x1a\n\x08timezone\x18\x07 \x01(\tR\x08timezone\x12\x1f\n\x0b\x64\x61te_format\x18\x08 \x01(\tR\ndateFormat"\xc0\x04\n\x06\x41PIKey\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x1d\n\nkey_prefix\x18\x03 \x01(\tR\tkeyPrefix\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06scopes\x18\x06 \x03(\tR\x06scopes\x12+\n\x11\x61llowed_endpoints\x18\x07 \x03(\tR\x10\x61llowedEndpoints\x12\x1f\n\x0b\x61llowed_ips\x18\x08 \x03(\tR\nallowedIps\x12<\n\x0clast_used_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nlastUsedAt\x12#\n\rrequest_count\x18\n \x01(\x03R\x0crequestCount\x12!\n\x0ctotal_tokens\x18\x0b \x01(\x03R\x0btotalTokens\x12\x1b\n\tis_active\x18\x0c \x01(\x08R\x08isActive\x12\x39\n\nexpires_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAtB\xb9\x01\n\x14\x63om.weaveapi.auth.v1B\tUserProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/auth/v1;auth\xa2\x02\x03WAX\xaa\x02\x10Weaveapi.Auth.V1\xca\x02\x10Weaveapi\\Auth\\V1\xe2\x02\x1cWeaveapi\\Auth\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Auth::V1b\x06proto3'
23
+ b'\n\x1bweaveapi/auth/v1/user.proto\x12\x10weaveapi.auth.v1\x1a!google/protobuf/go_features.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x9f\x05\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08username\x18\x03 \x01(\tR\x08username\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12\x1d\n\navatar_url\x18\x05 \x01(\tR\tavatarUrl\x12I\n\x0eoauth_accounts\x18\x06 \x03(\x0b\x32\x1e.weaveapi.auth.v1.OAuthAccountB\x02(\x01R\roauthAccounts\x12)\n\x10primary_provider\x18\x07 \x01(\tR\x0fprimaryProvider\x12J\n\x0csubscription\x18\x08 \x01(\x0b\x32".weaveapi.auth.v1.SubscriptionInfoB\x02(\x01R\x0csubscription\x12%\n\x0e\x61\x63\x63ount_status\x18\t \x01(\tR\raccountStatus\x12%\n\x0e\x65mail_verified\x18\n \x01(\x08R\remailVerified\x12\x42\n\rlast_login_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0blastLoginAt\x12=\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAt\x12G\n\x0bpreferences\x18\x0e \x01(\x0b\x32!.weaveapi.auth.v1.UserPreferencesB\x02(\x01R\x0bpreferences"\xc0\x04\n\x0cOAuthAccount\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12(\n\x10provider_user_id\x18\x02 \x01(\tR\x0eproviderUserId\x12+\n\x11provider_username\x18\x03 \x01(\tR\x10providerUsername\x12%\n\x0eprovider_email\x18\x04 \x01(\tR\rproviderEmail\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x05 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12#\n\rrefresh_token\x18\x06 \x01(\tR\x0crefreshToken\x12H\n\x10token_expires_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0etokenExpiresAt\x12;\n\tlinked_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x08linkedAt\x12@\n\x0clast_used_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\nlastUsedAt\x12H\n\x08metadata\x18\n \x03(\x0b\x32,.weaveapi.auth.v1.OAuthAccount.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\x9b\x02\n\rOAuthProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x02 \x01(\tR\x0b\x64isplayName\x12\x19\n\x08icon_url\x18\x03 \x01(\tR\x07iconUrl\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12)\n\x10supported_scopes\x18\x05 \x03(\tR\x0fsupportedScopes\x12#\n\rdefault_scope\x18\x06 \x01(\tR\x0c\x64\x65\x66\x61ultScope\x12)\n\x10supports_refresh\x18\x07 \x01(\x08R\x0fsupportsRefresh\x12#\n\rsupports_pkce\x18\x08 \x01(\x08R\x0csupportsPkce"\xe0\x03\n\x10SubscriptionInfo\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x12\n\x04tier\x18\x02 \x01(\tR\x04tier\x12,\n\x12stripe_customer_id\x18\x03 \x01(\tR\x10stripeCustomerId\x12\x34\n\x16stripe_subscription_id\x18\x04 \x01(\tR\x14stripeSubscriptionId\x12=\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartedAt\x12\x37\n\x07\x65nds_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x06\x65ndsAt\x12\x41\n\x0c\x63\x61ncelled_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0b\x63\x61ncelledAt\x12\x1d\n\nauto_renew\x18\x08 \x01(\x08R\tautoRenew\x12\x30\n\x14payment_method_last4\x18\t \x01(\tR\x12paymentMethodLast4\x12\x30\n\x14payment_method_brand\x18\n \x01(\tR\x12paymentMethodBrand"\xd0\x02\n\x0fUserPreferences\x12/\n\x13\x65mail_notifications\x18\x01 \x01(\x08R\x12\x65mailNotifications\x12\x33\n\x15webhook_notifications\x18\x02 \x01(\x08R\x14webhookNotifications\x12\x1f\n\x0bwebhook_url\x18\x03 \x01(\tR\nwebhookUrl\x12%\n\x0ewebhook_secret\x18\x04 \x01(\tR\rwebhookSecret\x12%\n\x0ewatched_models\x18\x05 \x03(\tR\rwatchedModels\x12+\n\x11watched_providers\x18\x06 \x03(\tR\x10watchedProviders\x12\x1a\n\x08timezone\x18\x07 \x01(\tR\x08timezone\x12\x1f\n\x0b\x64\x61te_format\x18\x08 \x01(\tR\ndateFormat"\xd0\x04\n\x06\x41PIKey\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x1d\n\nkey_prefix\x18\x03 \x01(\tR\tkeyPrefix\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06scopes\x18\x06 \x03(\tR\x06scopes\x12+\n\x11\x61llowed_endpoints\x18\x07 \x03(\tR\x10\x61llowedEndpoints\x12\x1f\n\x0b\x61llowed_ips\x18\x08 \x03(\tR\nallowedIps\x12@\n\x0clast_used_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\nlastUsedAt\x12#\n\rrequest_count\x18\n \x01(\x03R\x0crequestCount\x12!\n\x0ctotal_tokens\x18\x0b \x01(\x03R\x0btotalTokens\x12\x1b\n\tis_active\x18\x0c \x01(\x08R\x08isActive\x12=\n\nexpires_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\texpiresAt\x12=\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAtB\xc1\x01\n\x14\x63om.weaveapi.auth.v1B\tUserProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/auth/v1;auth\xa2\x02\x03WAX\xaa\x02\x10Weaveapi.Auth.V1\xca\x02\x10Weaveapi\\Auth\\V1\xe2\x02\x1cWeaveapi\\Auth\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Auth::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
24
24
  )
25
25
 
26
26
  _globals = globals()
@@ -32,21 +32,63 @@ if not _descriptor._USE_C_DESCRIPTORS:
32
32
  _globals["DESCRIPTOR"]._loaded_options = None
33
33
  _globals[
34
34
  "DESCRIPTOR"
35
- ]._serialized_options = b"\n\024com.weaveapi.auth.v1B\tUserProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/auth/v1;auth\242\002\003WAX\252\002\020Weaveapi.Auth.V1\312\002\020Weaveapi\\Auth\\V1\342\002\034Weaveapi\\Auth\\V1\\GPBMetadata\352\002\022Weaveapi::Auth::V1"
35
+ ]._serialized_options = b"\n\024com.weaveapi.auth.v1B\tUserProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/auth/v1;auth\242\002\003WAX\252\002\020Weaveapi.Auth.V1\312\002\020Weaveapi\\Auth\\V1\342\002\034Weaveapi\\Auth\\V1\\GPBMetadata\352\002\022Weaveapi::Auth::V1\222\003\005\322>\002\020\003"
36
+ _globals["_USER"].fields_by_name["oauth_accounts"]._loaded_options = None
37
+ _globals["_USER"].fields_by_name["oauth_accounts"]._serialized_options = b"(\001"
38
+ _globals["_USER"].fields_by_name["subscription"]._loaded_options = None
39
+ _globals["_USER"].fields_by_name["subscription"]._serialized_options = b"(\001"
40
+ _globals["_USER"].fields_by_name["last_login_at"]._loaded_options = None
41
+ _globals["_USER"].fields_by_name["last_login_at"]._serialized_options = b"(\001"
42
+ _globals["_USER"].fields_by_name["created_at"]._loaded_options = None
43
+ _globals["_USER"].fields_by_name["created_at"]._serialized_options = b"(\001"
44
+ _globals["_USER"].fields_by_name["updated_at"]._loaded_options = None
45
+ _globals["_USER"].fields_by_name["updated_at"]._serialized_options = b"(\001"
46
+ _globals["_USER"].fields_by_name["preferences"]._loaded_options = None
47
+ _globals["_USER"].fields_by_name["preferences"]._serialized_options = b"(\001"
36
48
  _globals["_OAUTHACCOUNT_METADATAENTRY"]._loaded_options = None
37
49
  _globals["_OAUTHACCOUNT_METADATAENTRY"]._serialized_options = b"8\001"
38
- _globals["_USER"]._serialized_start = 83
39
- _globals["_USER"]._serialized_end = 730
40
- _globals["_OAUTHACCOUNT"]._serialized_start = 733
41
- _globals["_OAUTHACCOUNT"]._serialized_end = 1297
42
- _globals["_OAUTHACCOUNT_METADATAENTRY"]._serialized_start = 1238
43
- _globals["_OAUTHACCOUNT_METADATAENTRY"]._serialized_end = 1297
44
- _globals["_OAUTHPROVIDER"]._serialized_start = 1300
45
- _globals["_OAUTHPROVIDER"]._serialized_end = 1583
46
- _globals["_SUBSCRIPTIONINFO"]._serialized_start = 1586
47
- _globals["_SUBSCRIPTIONINFO"]._serialized_end = 2054
48
- _globals["_USERPREFERENCES"]._serialized_start = 2057
49
- _globals["_USERPREFERENCES"]._serialized_end = 2393
50
- _globals["_APIKEY"]._serialized_start = 2396
51
- _globals["_APIKEY"]._serialized_end = 2972
50
+ _globals["_OAUTHACCOUNT"].fields_by_name["token_expires_at"]._loaded_options = None
51
+ _globals["_OAUTHACCOUNT"].fields_by_name[
52
+ "token_expires_at"
53
+ ]._serialized_options = b"(\001"
54
+ _globals["_OAUTHACCOUNT"].fields_by_name["linked_at"]._loaded_options = None
55
+ _globals["_OAUTHACCOUNT"].fields_by_name["linked_at"]._serialized_options = b"(\001"
56
+ _globals["_OAUTHACCOUNT"].fields_by_name["last_used_at"]._loaded_options = None
57
+ _globals["_OAUTHACCOUNT"].fields_by_name[
58
+ "last_used_at"
59
+ ]._serialized_options = b"(\001"
60
+ _globals["_SUBSCRIPTIONINFO"].fields_by_name["started_at"]._loaded_options = None
61
+ _globals["_SUBSCRIPTIONINFO"].fields_by_name[
62
+ "started_at"
63
+ ]._serialized_options = b"(\001"
64
+ _globals["_SUBSCRIPTIONINFO"].fields_by_name["ends_at"]._loaded_options = None
65
+ _globals["_SUBSCRIPTIONINFO"].fields_by_name[
66
+ "ends_at"
67
+ ]._serialized_options = b"(\001"
68
+ _globals["_SUBSCRIPTIONINFO"].fields_by_name["cancelled_at"]._loaded_options = None
69
+ _globals["_SUBSCRIPTIONINFO"].fields_by_name[
70
+ "cancelled_at"
71
+ ]._serialized_options = b"(\001"
72
+ _globals["_APIKEY"].fields_by_name["last_used_at"]._loaded_options = None
73
+ _globals["_APIKEY"].fields_by_name["last_used_at"]._serialized_options = b"(\001"
74
+ _globals["_APIKEY"].fields_by_name["expires_at"]._loaded_options = None
75
+ _globals["_APIKEY"].fields_by_name["expires_at"]._serialized_options = b"(\001"
76
+ _globals["_APIKEY"].fields_by_name["created_at"]._loaded_options = None
77
+ _globals["_APIKEY"].fields_by_name["created_at"]._serialized_options = b"(\001"
78
+ _globals["_APIKEY"].fields_by_name["updated_at"]._loaded_options = None
79
+ _globals["_APIKEY"].fields_by_name["updated_at"]._serialized_options = b"(\001"
80
+ _globals["_USER"]._serialized_start = 118
81
+ _globals["_USER"]._serialized_end = 789
82
+ _globals["_OAUTHACCOUNT"]._serialized_start = 792
83
+ _globals["_OAUTHACCOUNT"]._serialized_end = 1368
84
+ _globals["_OAUTHACCOUNT_METADATAENTRY"]._serialized_start = 1309
85
+ _globals["_OAUTHACCOUNT_METADATAENTRY"]._serialized_end = 1368
86
+ _globals["_OAUTHPROVIDER"]._serialized_start = 1371
87
+ _globals["_OAUTHPROVIDER"]._serialized_end = 1654
88
+ _globals["_SUBSCRIPTIONINFO"]._serialized_start = 1657
89
+ _globals["_SUBSCRIPTIONINFO"]._serialized_end = 2137
90
+ _globals["_USERPREFERENCES"]._serialized_start = 2140
91
+ _globals["_USERPREFERENCES"]._serialized_end = 2476
92
+ _globals["_APIKEY"]._serialized_start = 2479
93
+ _globals["_APIKEY"]._serialized_end = 3071
52
94
  # @@protoc_insertion_point(module_scope)