meshtrade 1.20.0__py3-none-any.whl → 1.22.0__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.
Potentially problematic release.
This version of meshtrade might be problematic. Click here for more details.
- meshtrade/common/grpc_client.py +93 -0
- meshtrade/common/service_options.py +46 -0
- meshtrade/compliance/client/v1/__init__.py +0 -2
- meshtrade/compliance/client/v1/service_meshpy.py +1 -1
- meshtrade/iam/api_user/v1/__init__.py +0 -2
- meshtrade/iam/api_user/v1/service_meshpy.py +1 -1
- meshtrade/iam/group/v1/__init__.py +0 -2
- meshtrade/iam/group/v1/service_meshpy.py +1 -1
- meshtrade/iam/user/v1/__init__.py +0 -2
- meshtrade/iam/user/v1/service_meshpy.py +1 -1
- meshtrade/ledger/transaction/v1/__init__.py +0 -2
- meshtrade/ledger/transaction/v1/service_meshpy.py +1 -1
- meshtrade/ledger/transaction/v1/service_pb2.py +2 -2
- meshtrade/reporting/account_report/v1/__init__.py +0 -2
- meshtrade/reporting/account_report/v1/service_meshpy.py +1 -1
- meshtrade/trading/limit_order/v1/__init__.py +0 -2
- meshtrade/trading/limit_order/v1/service_meshpy.py +1 -1
- meshtrade/trading/market_order/v1/__init__.py +0 -2
- meshtrade/trading/market_order/v1/service_meshpy.py +1 -1
- meshtrade/wallet/account/v1/__init__.py +0 -2
- meshtrade/wallet/account/v1/service_meshpy.py +1 -1
- {meshtrade-1.20.0.dist-info → meshtrade-1.22.0.dist-info}/METADATA +1 -1
- {meshtrade-1.20.0.dist-info → meshtrade-1.22.0.dist-info}/RECORD +25 -33
- meshtrade/compliance/client/v1/service_options_meshpy.py +0 -65
- meshtrade/iam/api_user/v1/service_options_meshpy.py +0 -65
- meshtrade/iam/group/v1/service_options_meshpy.py +0 -65
- meshtrade/iam/user/v1/service_options_meshpy.py +0 -65
- meshtrade/ledger/transaction/v1/service_options_meshpy.py +0 -65
- meshtrade/reporting/account_report/v1/service_options_meshpy.py +0 -65
- meshtrade/trading/limit_order/v1/service_options_meshpy.py +0 -65
- meshtrade/trading/market_order/v1/service_options_meshpy.py +0 -65
- meshtrade/wallet/account/v1/service_options_meshpy.py +0 -65
- {meshtrade-1.20.0.dist-info → meshtrade-1.22.0.dist-info}/WHEEL +0 -0
- {meshtrade-1.20.0.dist-info → meshtrade-1.22.0.dist-info}/top_level.txt +0 -0
meshtrade/common/grpc_client.py
CHANGED
|
@@ -146,6 +146,99 @@ class BaseGRPCClient(GRPCClient):
|
|
|
146
146
|
raise ValueError("Group not configured. Provide via constructor or set MESH_API_CREDENTIALS environment variable.")
|
|
147
147
|
return self._group
|
|
148
148
|
|
|
149
|
+
@property
|
|
150
|
+
def url(self) -> str:
|
|
151
|
+
"""Get the gRPC server URL.
|
|
152
|
+
|
|
153
|
+
Returns:
|
|
154
|
+
The gRPC server URL
|
|
155
|
+
"""
|
|
156
|
+
return self._url
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def port(self) -> int:
|
|
160
|
+
"""Get the gRPC server port.
|
|
161
|
+
|
|
162
|
+
Returns:
|
|
163
|
+
The gRPC server port
|
|
164
|
+
"""
|
|
165
|
+
return self._port
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def api_key(self) -> str | None:
|
|
169
|
+
"""Get the API key used for authentication.
|
|
170
|
+
|
|
171
|
+
Returns:
|
|
172
|
+
The API key, or None if not configured
|
|
173
|
+
"""
|
|
174
|
+
return self._api_key
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def timeout(self) -> timedelta:
|
|
178
|
+
"""Get the request timeout.
|
|
179
|
+
|
|
180
|
+
Returns:
|
|
181
|
+
The request timeout
|
|
182
|
+
"""
|
|
183
|
+
return self._timeout
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def tls(self) -> bool:
|
|
187
|
+
"""Get the TLS setting.
|
|
188
|
+
|
|
189
|
+
Returns:
|
|
190
|
+
True if TLS is enabled, False otherwise
|
|
191
|
+
"""
|
|
192
|
+
return self._tls
|
|
193
|
+
|
|
194
|
+
def with_group(self, group: str):
|
|
195
|
+
"""Return a new client instance configured with a different group context.
|
|
196
|
+
|
|
197
|
+
This enables convenient group context switching without reconstructing the entire client.
|
|
198
|
+
All other configuration (URL, port, timeout, API key, TLS) is preserved.
|
|
199
|
+
|
|
200
|
+
The group parameter must be in the format 'groups/{group_id}' where group_id is a valid
|
|
201
|
+
group identifier (typically a ULID). The new client instance shares no state with the
|
|
202
|
+
original client, allowing safe concurrent usage.
|
|
203
|
+
|
|
204
|
+
Args:
|
|
205
|
+
group: The group resource name in format 'groups/{group_id}'
|
|
206
|
+
|
|
207
|
+
Returns:
|
|
208
|
+
A new client instance of the same service type with updated group context.
|
|
209
|
+
|
|
210
|
+
Raises:
|
|
211
|
+
ValueError: If group is empty or not in correct format
|
|
212
|
+
|
|
213
|
+
Example:
|
|
214
|
+
>>> service = GroupService()
|
|
215
|
+
>>> alt_service = service.with_group("groups/01ARZ3NDEKTSV4RRFFQ69G5FAV")
|
|
216
|
+
>>> resp1 = service.some_method(request) # Uses original group
|
|
217
|
+
>>> resp2 = alt_service.some_method(request) # Uses alternative group
|
|
218
|
+
"""
|
|
219
|
+
# Validation
|
|
220
|
+
if not group:
|
|
221
|
+
raise ValueError("Group parameter cannot be empty")
|
|
222
|
+
if not group.startswith("groups/"):
|
|
223
|
+
raise ValueError("Group must be in format 'groups/{group_id}'")
|
|
224
|
+
|
|
225
|
+
# Import ServiceOptions from common module
|
|
226
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
227
|
+
|
|
228
|
+
# Create new options with all config preserved except group
|
|
229
|
+
options = ServiceOptions(
|
|
230
|
+
url=self._url,
|
|
231
|
+
port=self._port,
|
|
232
|
+
api_key=self._api_key,
|
|
233
|
+
group=group,
|
|
234
|
+
timeout=self._timeout,
|
|
235
|
+
tls=self._tls,
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
# Create new instance of actual runtime class (GroupService, AccountService, etc.)
|
|
239
|
+
# type(self) returns the actual class, and all services accept ServiceOptions
|
|
240
|
+
return type(self)(options)
|
|
241
|
+
|
|
149
242
|
def validator(self) -> Validator:
|
|
150
243
|
"""Get the protovalidate validator for request validation.
|
|
151
244
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Shared configuration options for all gRPC services.
|
|
3
|
+
|
|
4
|
+
This module provides a clean, extensible way to configure services with optional
|
|
5
|
+
parameters while maintaining backward compatibility and readability.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from datetime import timedelta
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ServiceOptions:
|
|
12
|
+
"""Configuration options for gRPC services.
|
|
13
|
+
|
|
14
|
+
This class provides a clean, extensible way to configure services with optional
|
|
15
|
+
parameters while maintaining backward compatibility and readability.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
def __init__(
|
|
19
|
+
self,
|
|
20
|
+
tls: bool = True,
|
|
21
|
+
url: str | None = None,
|
|
22
|
+
port: int | None = None,
|
|
23
|
+
api_key: str | None = None,
|
|
24
|
+
group: str | None = None,
|
|
25
|
+
timeout: timedelta = timedelta(seconds=30),
|
|
26
|
+
):
|
|
27
|
+
"""Initialize service options.
|
|
28
|
+
|
|
29
|
+
Args:
|
|
30
|
+
tls: Whether to use TLS encryption for the gRPC connection.
|
|
31
|
+
url: The server hostname or IP address.
|
|
32
|
+
port: The server port number.
|
|
33
|
+
api_key: The API key for authentication.
|
|
34
|
+
group: The group resource name in format groups/{group_id}.
|
|
35
|
+
timeout: The default timeout for all gRPC method calls.
|
|
36
|
+
"""
|
|
37
|
+
self.tls = tls
|
|
38
|
+
self.url = url
|
|
39
|
+
self.port = port
|
|
40
|
+
self.api_key = api_key
|
|
41
|
+
self.group = group
|
|
42
|
+
self.timeout = timeout
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# Create alias to match expected exports
|
|
46
|
+
ClientOptions = ServiceOptions
|
|
@@ -40,7 +40,6 @@ from .service_meshpy import (
|
|
|
40
40
|
ClientServiceGRPCClient,
|
|
41
41
|
ClientServiceGRPCClientInterface,
|
|
42
42
|
)
|
|
43
|
-
from .service_options_meshpy import ClientOptions
|
|
44
43
|
|
|
45
44
|
# ===================================================================
|
|
46
45
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -63,7 +62,6 @@ from .service_options_meshpy import ClientOptions
|
|
|
63
62
|
__all__ = [
|
|
64
63
|
# Generated exports
|
|
65
64
|
"Client",
|
|
66
|
-
"ClientOptions",
|
|
67
65
|
"ClientService",
|
|
68
66
|
"ClientServiceGRPCClient",
|
|
69
67
|
"ClientServiceGRPCClientInterface",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .client_pb2 import Client
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
CreateClientRequest,
|
|
22
22
|
GetClientRequest,
|
|
@@ -35,7 +35,6 @@ from .service_meshpy import (
|
|
|
35
35
|
ApiUserServiceGRPCClient,
|
|
36
36
|
ApiUserServiceGRPCClientInterface,
|
|
37
37
|
)
|
|
38
|
-
from .service_options_meshpy import ClientOptions
|
|
39
38
|
|
|
40
39
|
# ===================================================================
|
|
41
40
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -81,7 +80,6 @@ __all__ = [
|
|
|
81
80
|
"ApiUserServiceGRPCClient",
|
|
82
81
|
"ApiUserServiceGRPCClientInterface",
|
|
83
82
|
"AssignRoleToAPIUserRequest",
|
|
84
|
-
"ClientOptions",
|
|
85
83
|
"CreateApiUserRequest",
|
|
86
84
|
"DeactivateApiUserRequest",
|
|
87
85
|
"GetApiUserByKeyHashRequest",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from .api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .api_user_pb2 import APIUser
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
ActivateApiUserRequest,
|
|
22
22
|
AssignRoleToAPIUserRequest,
|
|
@@ -30,7 +30,6 @@ from .service_meshpy import (
|
|
|
30
30
|
GroupServiceGRPCClient,
|
|
31
31
|
GroupServiceGRPCClientInterface,
|
|
32
32
|
)
|
|
33
|
-
from .service_options_meshpy import ClientOptions
|
|
34
33
|
|
|
35
34
|
# ===================================================================
|
|
36
35
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -52,7 +51,6 @@ from .service_options_meshpy import ClientOptions
|
|
|
52
51
|
# Combined auto-generated and manual exports
|
|
53
52
|
__all__ = [
|
|
54
53
|
# Generated exports
|
|
55
|
-
"ClientOptions",
|
|
56
54
|
"CreateGroupRequest",
|
|
57
55
|
"GetGroupRequest",
|
|
58
56
|
"Group",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .group_pb2 import Group
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
CreateGroupRequest,
|
|
22
22
|
GetGroupRequest,
|
|
@@ -31,7 +31,6 @@ from .service_meshpy import (
|
|
|
31
31
|
UserServiceGRPCClient,
|
|
32
32
|
UserServiceGRPCClientInterface,
|
|
33
33
|
)
|
|
34
|
-
from .service_options_meshpy import ClientOptions
|
|
35
34
|
|
|
36
35
|
# ===================================================================
|
|
37
36
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -54,7 +53,6 @@ from .service_options_meshpy import ClientOptions
|
|
|
54
53
|
__all__ = [
|
|
55
54
|
# Generated exports
|
|
56
55
|
"AssignRoleToUserRequest",
|
|
57
|
-
"ClientOptions",
|
|
58
56
|
"CreateUserRequest",
|
|
59
57
|
"GetUserRequest",
|
|
60
58
|
"ListUsersRequest",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .user_pb2 import User
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
AssignRoleToUserRequest,
|
|
22
22
|
CreateUserRequest,
|
|
@@ -28,7 +28,6 @@ from .service_meshpy import (
|
|
|
28
28
|
TransactionServiceGRPCClient,
|
|
29
29
|
TransactionServiceGRPCClientInterface,
|
|
30
30
|
)
|
|
31
|
-
from .service_options_meshpy import ClientOptions
|
|
32
31
|
|
|
33
32
|
# ===================================================================
|
|
34
33
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -50,7 +49,6 @@ from .service_options_meshpy import ClientOptions
|
|
|
50
49
|
# Combined auto-generated and manual exports
|
|
51
50
|
__all__ = [
|
|
52
51
|
# Generated exports
|
|
53
|
-
"ClientOptions",
|
|
54
52
|
"GetTransactionStateRequest",
|
|
55
53
|
"GetTransactionStateResponse",
|
|
56
54
|
"MonitorTransactionStateRequest",
|
|
@@ -15,7 +15,7 @@ from typing import Optional
|
|
|
15
15
|
from meshtrade.common import BaseGRPCClient
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
|
-
from .
|
|
18
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
19
19
|
from .service_pb2 import (
|
|
20
20
|
GetTransactionStateRequest,
|
|
21
21
|
GetTransactionStateResponse,
|
|
@@ -28,7 +28,7 @@ from meshtrade.option.v1 import method_type_pb2 as meshtrade_dot_option_dot_v1_d
|
|
|
28
28
|
from meshtrade.ledger.transaction.v1 import transaction_state_pb2 as meshtrade_dot_ledger_dot_transaction_dot_v1_dot_transaction__state__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-meshtrade/ledger/transaction/v1/service.proto\x12\x1fmeshtrade.ledger.transaction.v1\x1a\x1b\x62uf/validate/validate.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\x1a\x37meshtrade/ledger/transaction/v1/transaction_state.proto\"t\n\x1aGetTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01\'\xc8\x01\x01R\x04name\"f\n\x1bGetTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state\"x\n\x1eMonitorTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-meshtrade/ledger/transaction/v1/service.proto\x12\x1fmeshtrade.ledger.transaction.v1\x1a\x1b\x62uf/validate/validate.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\x1a\x37meshtrade/ledger/transaction/v1/transaction_state.proto\"t\n\x1aGetTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01\'\xc8\x01\x01R\x04name\"f\n\x1bGetTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state\"x\n\x1eMonitorTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01\'\xc8\x01\x01R\x04name\"j\n\x1fMonitorTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state2\x80\x03\n\x12TransactionService\x12\xac\x01\n\x13GetTransactionState\x12;.meshtrade.ledger.transaction.v1.GetTransactionStateRequest\x1a<.meshtrade.ledger.transaction.v1.GetTransactionStateResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x9f\xab\x03\xc1\x9f\xab\x03\xc2\x9f\xab\x03\xc3\x9f\xab\x03\x12\xba\x01\n\x17MonitorTransactionState\x12?.meshtrade.ledger.transaction.v1.MonitorTransactionStateRequest\x1a@.meshtrade.ledger.transaction.v1.MonitorTransactionStateResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x9f\xab\x03\xc1\x9f\xab\x03\xc2\x9f\xab\x03\xc3\x9f\xab\x03\x30\x01\x42j\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1b\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -39,7 +39,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
39
39
|
_globals['_GETTRANSACTIONSTATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
40
40
|
_globals['_GETTRANSACTIONSTATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001\'\310\001\001'
|
|
41
41
|
_globals['_MONITORTRANSACTIONSTATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
42
|
-
_globals['_MONITORTRANSACTIONSTATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001
|
|
42
|
+
_globals['_MONITORTRANSACTIONSTATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001\'\310\001\001'
|
|
43
43
|
_globals['_TRANSACTIONSERVICE'].methods_by_name['GetTransactionState']._loaded_options = None
|
|
44
44
|
_globals['_TRANSACTIONSERVICE'].methods_by_name['GetTransactionState']._serialized_options = b'\240\265\030\001\252\265\030\022\n\020\300\237\253\003\301\237\253\003\302\237\253\003\303\237\253\003'
|
|
45
45
|
_globals['_TRANSACTIONSERVICE'].methods_by_name['MonitorTransactionState']._loaded_options = None
|
|
@@ -26,7 +26,6 @@ from .service_meshpy import (
|
|
|
26
26
|
AccountReportServiceGRPCClient,
|
|
27
27
|
AccountReportServiceGRPCClientInterface,
|
|
28
28
|
)
|
|
29
|
-
from .service_options_meshpy import ClientOptions
|
|
30
29
|
|
|
31
30
|
# ===================================================================
|
|
32
31
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -52,7 +51,6 @@ __all__ = [
|
|
|
52
51
|
"AccountReportService",
|
|
53
52
|
"AccountReportServiceGRPCClient",
|
|
54
53
|
"AccountReportServiceGRPCClientInterface",
|
|
55
|
-
"ClientOptions",
|
|
56
54
|
"Disclaimer",
|
|
57
55
|
"FeeEntry",
|
|
58
56
|
"GetAccountReportRequest",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .account_report_pb2 import AccountReport
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
GetAccountReportRequest,
|
|
22
22
|
GetExcelAccountReportRequest,
|
|
@@ -22,7 +22,6 @@ from .service_meshpy import (
|
|
|
22
22
|
LimitOrderServiceGRPCClient,
|
|
23
23
|
LimitOrderServiceGRPCClientInterface,
|
|
24
24
|
)
|
|
25
|
-
from .service_options_meshpy import ClientOptions
|
|
26
25
|
|
|
27
26
|
# ===================================================================
|
|
28
27
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -44,7 +43,6 @@ from .service_options_meshpy import ClientOptions
|
|
|
44
43
|
# Combined auto-generated and manual exports
|
|
45
44
|
__all__ = [
|
|
46
45
|
# Generated exports
|
|
47
|
-
"ClientOptions",
|
|
48
46
|
"GetLimitOrderRequest",
|
|
49
47
|
"LimitOrder",
|
|
50
48
|
"LimitOrderService",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .limit_order_pb2 import LimitOrder
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
GetLimitOrderRequest,
|
|
22
22
|
)
|
|
@@ -22,7 +22,6 @@ from .service_meshpy import (
|
|
|
22
22
|
MarketOrderServiceGRPCClient,
|
|
23
23
|
MarketOrderServiceGRPCClientInterface,
|
|
24
24
|
)
|
|
25
|
-
from .service_options_meshpy import ClientOptions
|
|
26
25
|
|
|
27
26
|
# ===================================================================
|
|
28
27
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -44,7 +43,6 @@ from .service_options_meshpy import ClientOptions
|
|
|
44
43
|
# Combined auto-generated and manual exports
|
|
45
44
|
__all__ = [
|
|
46
45
|
# Generated exports
|
|
47
|
-
"ClientOptions",
|
|
48
46
|
"GetMarketOrderRequest",
|
|
49
47
|
"MarketOrder",
|
|
50
48
|
"MarketOrderService",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .market_order_pb2 import MarketOrder
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
GetMarketOrderRequest,
|
|
22
22
|
)
|
|
@@ -38,7 +38,6 @@ from .service_meshpy import (
|
|
|
38
38
|
AccountServiceGRPCClient,
|
|
39
39
|
AccountServiceGRPCClientInterface,
|
|
40
40
|
)
|
|
41
|
-
from .service_options_meshpy import ClientOptions
|
|
42
41
|
|
|
43
42
|
# ===================================================================
|
|
44
43
|
# END OF AUTO-GENERATED SECTION
|
|
@@ -66,7 +65,6 @@ __all__ = [
|
|
|
66
65
|
"AccountServiceGRPCClientInterface",
|
|
67
66
|
"AccountState",
|
|
68
67
|
"Balance",
|
|
69
|
-
"ClientOptions",
|
|
70
68
|
"CreateAccountRequest",
|
|
71
69
|
"GetAccountByNumberRequest",
|
|
72
70
|
"GetAccountRequest",
|
|
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
|
|
|
16
16
|
from meshtrade.iam.api_user.v1.api_credentials import find_credentials
|
|
17
17
|
|
|
18
18
|
from .account_pb2 import Account
|
|
19
|
-
from .
|
|
19
|
+
from meshtrade.common.service_options import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
CreateAccountRequest,
|
|
22
22
|
GetAccountByNumberRequest,
|
|
@@ -3,10 +3,11 @@ buf/validate/validate_pb2.pyi,sha256=fUPIBbzonV2mNAClFBYe0BBALoKeFoR_oCYordTjyy0
|
|
|
3
3
|
meshtrade/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
meshtrade/common/__init__.py,sha256=E0nRoma1sWcEYNqKfr6TI4tL7JDh7MlLeEfne5HKzIM,555
|
|
5
5
|
meshtrade/common/config.py,sha256=X9KPOirRqWOdpqoFyhHVXC4HgmZ9voI8vCjetQYSaH0,810
|
|
6
|
-
meshtrade/common/grpc_client.py,sha256=
|
|
6
|
+
meshtrade/common/grpc_client.py,sha256=1gzXEVs4G5ASoezwExw7HX47wZmrrUNnIUkCeMojgN8,11839
|
|
7
|
+
meshtrade/common/service_options.py,sha256=DWGVZ7uOMD0mMjNvnYUklxDvuCL6eljbcBomdOfHcfQ,1393
|
|
7
8
|
meshtrade/compliance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
9
|
meshtrade/compliance/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
meshtrade/compliance/client/v1/__init__.py,sha256=
|
|
10
|
+
meshtrade/compliance/client/v1/__init__.py,sha256=HIqwU8rwiCq-fc-oOK0YDQX-S6nJVim4y9zat4c485Y,2974
|
|
10
11
|
meshtrade/compliance/client/v1/client_pb2.py,sha256=hSmwb5nXYc_0KXcfoXfRGQtrKz_uMXiI14bvj9GOAdg,6529
|
|
11
12
|
meshtrade/compliance/client/v1/client_pb2.pyi,sha256=j9zwElgm5Ui9-lWWNrtS_-Lu4UWO2_2T7bKlH4GhFSo,2975
|
|
12
13
|
meshtrade/compliance/client/v1/client_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
@@ -37,8 +38,7 @@ meshtrade/compliance/client/v1/natural_person_pb2_grpc.py,sha256=1oboBPFxaTEXt9A
|
|
|
37
38
|
meshtrade/compliance/client/v1/pep_status_pb2.py,sha256=6qf7nq4OI_O82nZ3zLlAePbeI24E3rnJxPY8b7wgynU,1819
|
|
38
39
|
meshtrade/compliance/client/v1/pep_status_pb2.pyi,sha256=jBJjLEjA16K53Ss85Yab_KtrRG_2lWxFYcMJ0QuQpUk,622
|
|
39
40
|
meshtrade/compliance/client/v1/pep_status_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
40
|
-
meshtrade/compliance/client/v1/service_meshpy.py,sha256=
|
|
41
|
-
meshtrade/compliance/client/v1/service_options_meshpy.py,sha256=7h5Pt-5G50NRvNcsqo3BFVs7qfnRuBlG7h-f370HjX0,2544
|
|
41
|
+
meshtrade/compliance/client/v1/service_meshpy.py,sha256=nNH6-lx3urT10maMfrfQ4U8umO02BC_0WWzI8aKuQoY,6868
|
|
42
42
|
meshtrade/compliance/client/v1/service_pb2.py,sha256=2efiYdXJGKD5HhZ8nI69J3kqMmeFoW3UueuyBSljBbg,4848
|
|
43
43
|
meshtrade/compliance/client/v1/service_pb2.pyi,sha256=6QUnoMHP4mog4znO8yepi8hiaOXfYBXWKZiWjO9ZSO8,1438
|
|
44
44
|
meshtrade/compliance/client/v1/service_pb2_grpc.py,sha256=_gDQ7jNUpTbjh7YGhgDFLwq4_Y0rgmzCMlNPW-s8JWI,8438
|
|
@@ -55,7 +55,7 @@ meshtrade/compliance/client/v1/verification_status_pb2.py,sha256=RBI8-LnSLSSv6pV
|
|
|
55
55
|
meshtrade/compliance/client/v1/verification_status_pb2.pyi,sha256=kqP24po3o2Ks8HWAoQ-tLlMirCJCKwxlQlWJXWkRmAI,880
|
|
56
56
|
meshtrade/compliance/client/v1/verification_status_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
57
57
|
meshtrade/iam/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
-
meshtrade/iam/api_user/v1/__init__.py,sha256=
|
|
58
|
+
meshtrade/iam/api_user/v1/__init__.py,sha256=vu_AKFesKXOKQZTdZW2vMRUqL52MZ5qsgfkvSLRqrWY,3034
|
|
59
59
|
meshtrade/iam/api_user/v1/api_credentials.py,sha256=apo3p_YcncNphbxLXegqoYh35bPydhjR-ULsZ7kj4D4,5272
|
|
60
60
|
meshtrade/iam/api_user/v1/api_credentials_pb2.py,sha256=ssnkOj_oJWlMPXot99Fp1vn4V5u2zKDmie4hKL49x20,3098
|
|
61
61
|
meshtrade/iam/api_user/v1/api_credentials_pb2.pyi,sha256=TRv0xnm4VJ62sCMz_utdLvQR_vNQqWH_wCE0mtF3ZsY,547
|
|
@@ -64,18 +64,16 @@ meshtrade/iam/api_user/v1/api_user_pb2.py,sha256=k0HZUg-XMKGr1ZpAejXqqv6xZMgTQM-
|
|
|
64
64
|
meshtrade/iam/api_user/v1/api_user_pb2.pyi,sha256=ke6t8bEYc6QUw6V8GWC7iTqju7-WrYrRIj5Lw2rdNZ0,2158
|
|
65
65
|
meshtrade/iam/api_user/v1/api_user_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
66
66
|
meshtrade/iam/api_user/v1/service.py,sha256=_7-LK9LDkKh7JOQHOryNBE1Xgr-DclAMO2QQhGoumUg,1827
|
|
67
|
-
meshtrade/iam/api_user/v1/service_meshpy.py,sha256=
|
|
68
|
-
meshtrade/iam/api_user/v1/service_options_meshpy.py,sha256=hkWJmNCsNDQ_OBdwZBK_zAUgl-B9ZsddmcrPfF7PyZI,2541
|
|
67
|
+
meshtrade/iam/api_user/v1/service_meshpy.py,sha256=i9N8WnN9uu2fcyGEohn7l4owqOKfuUhjAvFGu4hjyRM,10580
|
|
69
68
|
meshtrade/iam/api_user/v1/service_pb2.py,sha256=50ZseqB-n61OIBMxWUYT9tHtXURFZyYSdjhgpG--2R0,11858
|
|
70
69
|
meshtrade/iam/api_user/v1/service_pb2.pyi,sha256=6EfMPzUQuCUn_Dgzqybv-4Opt62xYGHpfafWhBBsw5A,3173
|
|
71
70
|
meshtrade/iam/api_user/v1/service_pb2_grpc.py,sha256=PQ06cCgKtjQU6cbQQpT5AaeaK1UFpByZPYVTQlHfG_4,22280
|
|
72
71
|
meshtrade/iam/group/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
|
-
meshtrade/iam/group/v1/__init__.py,sha256=
|
|
72
|
+
meshtrade/iam/group/v1/__init__.py,sha256=KAIMS3_Lp-oqlm5dAAZzWRKgbadBffgv0x_K1j1CZl8,1998
|
|
74
73
|
meshtrade/iam/group/v1/group_pb2.py,sha256=5VZ1m6uUDm7_dRPP1CPHdBfc35UO_D7BcWscU2fp29c,3187
|
|
75
74
|
meshtrade/iam/group/v1/group_pb2.pyi,sha256=faBCPlZuc66IfOO4TbJ4QX1B8BuFImnYZTkKaAP8yss,762
|
|
76
75
|
meshtrade/iam/group/v1/group_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
77
|
-
meshtrade/iam/group/v1/service_meshpy.py,sha256=
|
|
78
|
-
meshtrade/iam/group/v1/service_options_meshpy.py,sha256=04luV1eQlZ6yeJVdgl6XqR3mpaQyxc0XASfSQt_C0jY,2534
|
|
76
|
+
meshtrade/iam/group/v1/service_meshpy.py,sha256=olni7a8S0i7rHDy75yDYJ1fJ8td-nblJwibIeGlnVxo,7963
|
|
79
77
|
meshtrade/iam/group/v1/service_pb2.py,sha256=6_rGs0f190vP8QNSXtXwwoWIi30R16s0aZ9rDnTUV1o,10303
|
|
80
78
|
meshtrade/iam/group/v1/service_pb2.pyi,sha256=xg9tmab0dl6szbEAtmRNBPUOYoSQPSzKF7jALB6I2pY,3370
|
|
81
79
|
meshtrade/iam/group/v1/service_pb2_grpc.py,sha256=RHubfJy336fjw6TTTGyRASCl51SVIgE4oyl2nTWYeKk,13142
|
|
@@ -84,9 +82,8 @@ meshtrade/iam/role/v1/role.py,sha256=4uIWnaM5RcrTUlkv8NLHrjPU9AonoPJotdQ496IQnLM
|
|
|
84
82
|
meshtrade/iam/role/v1/role_pb2.py,sha256=n4bylzkICavD4uaPInp-T9VBL53JLsa3ppJk6AD1XtM,3635
|
|
85
83
|
meshtrade/iam/role/v1/role_pb2.pyi,sha256=9zpg4jbD1tVwerq2lIRQ-m8IaNNEKa1esAPOHjolnYw,3048
|
|
86
84
|
meshtrade/iam/role/v1/role_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
87
|
-
meshtrade/iam/user/v1/__init__.py,sha256=
|
|
88
|
-
meshtrade/iam/user/v1/service_meshpy.py,sha256=
|
|
89
|
-
meshtrade/iam/user/v1/service_options_meshpy.py,sha256=KPdpKUBF0iZsW6TshxgI6j0SNl7t-iLOXlhnYP3IlJ0,2531
|
|
85
|
+
meshtrade/iam/user/v1/__init__.py,sha256=jVIneFgOIOwSZJsXggdUpabdnBJWaLxJ-Cjn_MVB4fk,2034
|
|
86
|
+
meshtrade/iam/user/v1/service_meshpy.py,sha256=fHZIcXCTKlGftWMaCFEZYgDHDyUQTErU-FPBsqUc7LI,8493
|
|
90
87
|
meshtrade/iam/user/v1/service_pb2.py,sha256=QPQm7uGKqOeZUoaGDhSdUgAjJxjCwWlIyVkNy1EohQk,9554
|
|
91
88
|
meshtrade/iam/user/v1/service_pb2.pyi,sha256=-jBiRko_1qAVZl3mZ-S2s7HQiXymT_L4ykzlRZON04g,3459
|
|
92
89
|
meshtrade/iam/user/v1/service_pb2_grpc.py,sha256=3oo77hLOMVOB24jdpOdFgtJVpJVJgfFiNUPeaAEK6ek,15245
|
|
@@ -95,10 +92,9 @@ meshtrade/iam/user/v1/user_pb2.pyi,sha256=Z3x3J5zUhHTr-HNjxJ6pTa37KB4fSOeNumY_GC
|
|
|
95
92
|
meshtrade/iam/user/v1/user_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
96
93
|
meshtrade/ledger/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
94
|
meshtrade/ledger/transaction/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
|
-
meshtrade/ledger/transaction/v1/__init__.py,sha256=
|
|
99
|
-
meshtrade/ledger/transaction/v1/service_meshpy.py,sha256=
|
|
100
|
-
meshtrade/ledger/transaction/v1/
|
|
101
|
-
meshtrade/ledger/transaction/v1/service_pb2.py,sha256=EWFsDgnN3jyrkKo5nULg68EZ9rVWsBmsQ4fhOiw_MlI,5116
|
|
95
|
+
meshtrade/ledger/transaction/v1/__init__.py,sha256=k3ZedV_AsrhEKWtIdrw5HRgl9IFPppkr1jnSzNVSbCk,2089
|
|
96
|
+
meshtrade/ledger/transaction/v1/service_meshpy.py,sha256=BBzwwRMBwY_RaJ5XlYWa0mAPU8SKgOhYR8U0LThgEk4,6882
|
|
97
|
+
meshtrade/ledger/transaction/v1/service_pb2.py,sha256=HcCoQH2lgg_b2bsAdK-wC_PJH9oFJlPcRCxW_lAQwnk,5118
|
|
102
98
|
meshtrade/ledger/transaction/v1/service_pb2.pyi,sha256=zmyLqjewfD-YB-qGe0ft-mAb_5tdVYSDCNC2yz0W3Vc,1462
|
|
103
99
|
meshtrade/ledger/transaction/v1/service_pb2_grpc.py,sha256=7ywyNP7SSRJRh80ShSuFo9PzPNYc1kPFBNxpteT_R9Y,5737
|
|
104
100
|
meshtrade/ledger/transaction/v1/transaction_action_pb2.py,sha256=baOxZ8Z06m8X7fMs63CqZDrvphwYz-2pqDJUdAuIEe8,2062
|
|
@@ -111,7 +107,7 @@ meshtrade/option/v1/__init__.py,sha256=B8U0UVf7gUA3D5si5m8H5il7Hy_-KLeLaeGtizQVV
|
|
|
111
107
|
meshtrade/option/v1/method_type_pb2.py,sha256=73cTzlRaEeeshTkvOmUBMYJJtPlyT5Sp8zOaCqeiBB0,1939
|
|
112
108
|
meshtrade/option/v1/method_type_pb2.pyi,sha256=dR04xeb0M19uqhXb8veCxlWylJ7G_G32-mkuzztGaQw,680
|
|
113
109
|
meshtrade/option/v1/method_type_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
114
|
-
meshtrade/reporting/account_report/v1/__init__.py,sha256
|
|
110
|
+
meshtrade/reporting/account_report/v1/__init__.py,sha256=-9aMSuvjMsh4p2LTnQOD_5jevd3YKyxz9YROsqVJ8hs,2219
|
|
115
111
|
meshtrade/reporting/account_report/v1/account_report_pb2.py,sha256=MsSykds_bG5TjXZyoG637L37Vc1V8P1SfsJrhOrQssQ,4369
|
|
116
112
|
meshtrade/reporting/account_report/v1/account_report_pb2.pyi,sha256=3a4AqxLc_KcMxHAJ0bQOMPR6ra86aD1YbCkZvS59zJk,3645
|
|
117
113
|
meshtrade/reporting/account_report/v1/account_report_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
@@ -124,8 +120,7 @@ meshtrade/reporting/account_report/v1/fee_entry_pb2_grpc.py,sha256=1oboBPFxaTEXt
|
|
|
124
120
|
meshtrade/reporting/account_report/v1/income_entry_pb2.py,sha256=CYIZB975QcyaiLQ4NVVJnqw08aG81aADAwDROD0_uxk,3170
|
|
125
121
|
meshtrade/reporting/account_report/v1/income_entry_pb2.pyi,sha256=QMXqSULWde3bEGJJvfc-uovg-4-7psQpeCLMogxkSXs,2491
|
|
126
122
|
meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
127
|
-
meshtrade/reporting/account_report/v1/service_meshpy.py,sha256=
|
|
128
|
-
meshtrade/reporting/account_report/v1/service_options_meshpy.py,sha256=oagptW02D9QtyonYlakMyCbK-zDUm8L5SVkHrcGsNsU,2565
|
|
123
|
+
meshtrade/reporting/account_report/v1/service_meshpy.py,sha256=WC-vqmEQOwP2kqGqy2pC3liUy6ugDf0QPtZIzxOWCO4,6624
|
|
129
124
|
meshtrade/reporting/account_report/v1/service_pb2.py,sha256=E-cjoqI75BOltsajgea46BhxRQXpZdBGavY8obqgkQs,7696
|
|
130
125
|
meshtrade/reporting/account_report/v1/service_pb2.pyi,sha256=DqdHVAGE8kUK4jo1iTykAE8MGlTo186v7iu6XSxexSk,2550
|
|
131
126
|
meshtrade/reporting/account_report/v1/service_pb2_grpc.py,sha256=z-qbHsZIez7zvTs0SPrr_xrhnpDApi7oYjt5MxfsPss,7340
|
|
@@ -144,21 +139,19 @@ meshtrade/studio/instrument/v1/unit_pb2.pyi,sha256=-BMg8h2KblJEBs9And8wjEYwomZmf
|
|
|
144
139
|
meshtrade/studio/instrument/v1/unit_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
145
140
|
meshtrade/trading/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
141
|
meshtrade/trading/limit_order/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
|
-
meshtrade/trading/limit_order/v1/__init__.py,sha256=
|
|
142
|
+
meshtrade/trading/limit_order/v1/__init__.py,sha256=RVdPyKjJHyglJbA_PsLB2cImUKOKc4Hk0WwkESLfSss,1747
|
|
148
143
|
meshtrade/trading/limit_order/v1/limit_order_pb2.py,sha256=n0dmnmlM7V80cdFST7D_H5zj4mA57lv2gri7mW6BbKM,1724
|
|
149
144
|
meshtrade/trading/limit_order/v1/limit_order_pb2.pyi,sha256=qqW6yIlOa146Cr7vuiHBLd8DSOvhhUy3CwJJeC52zFU,393
|
|
150
145
|
meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
151
|
-
meshtrade/trading/limit_order/v1/service_meshpy.py,sha256=
|
|
152
|
-
meshtrade/trading/limit_order/v1/service_options_meshpy.py,sha256=B8H-GWdi7mrnwLaQ_TP6CSaRyFtSIEe9mGZuHjapvEY,2554
|
|
146
|
+
meshtrade/trading/limit_order/v1/service_meshpy.py,sha256=oIymMCQ-pSxzEXvQvARksWQeOe6bp3cp0l_0BWOpTFM,5831
|
|
153
147
|
meshtrade/trading/limit_order/v1/service_pb2.py,sha256=UHgBFqd2n1CDWu9mW4_cYeyFevBrhrZjq1gG1VlXuvQ,2811
|
|
154
148
|
meshtrade/trading/limit_order/v1/service_pb2.pyi,sha256=L9ZgLzBDaxqIsAYABtVlrY_qe0Co0Ht99USR_307SXc,608
|
|
155
149
|
meshtrade/trading/limit_order/v1/service_pb2_grpc.py,sha256=ALpSeJl1-3r7jKkcWU7g_QOtks_ZZ7ciVbJgdHvew5k,3390
|
|
156
|
-
meshtrade/trading/market_order/v1/__init__.py,sha256=
|
|
150
|
+
meshtrade/trading/market_order/v1/__init__.py,sha256=e2Nh_n5GJW34Z-Wyh-nbg-4hROCnyWCBgMgXfJ7xBws,1759
|
|
157
151
|
meshtrade/trading/market_order/v1/market_order_pb2.py,sha256=Jlp4vNYcULH5fzQvpHsmwg9Gy3KwWoi07vbniEK4ERA,1742
|
|
158
152
|
meshtrade/trading/market_order/v1/market_order_pb2.pyi,sha256=NaWtrs1iNO8jY5XQRvS1ex3skmVJFTGxdDHdknIDvfI,394
|
|
159
153
|
meshtrade/trading/market_order/v1/market_order_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
160
|
-
meshtrade/trading/market_order/v1/service_meshpy.py,sha256=
|
|
161
|
-
meshtrade/trading/market_order/v1/service_options_meshpy.py,sha256=Ido0GNgd1FSpqzjj-tknXMwYot6g8tAV5fa3oIzYVmk,2557
|
|
154
|
+
meshtrade/trading/market_order/v1/service_meshpy.py,sha256=sC5IsOt1XtMJ5h42adJGreld6gjVsllsHB132kQTSl0,5864
|
|
162
155
|
meshtrade/trading/market_order/v1/service_pb2.py,sha256=EW0Ax6qDvJaqrpWrrb41eLcJEtovNbCjumqlWHmSiKA,2843
|
|
163
156
|
meshtrade/trading/market_order/v1/service_pb2.pyi,sha256=MIGhHksXG6hw6N-afJEEAR3fUqKoNU2EdfffDcLMO3c,612
|
|
164
157
|
meshtrade/trading/market_order/v1/service_pb2_grpc.py,sha256=MvjbM6EO7A4jFr8e68umjIIxw5swzoVpuxrLvmxr7es,3430
|
|
@@ -197,16 +190,15 @@ meshtrade/type/v1/token_pb2.py,sha256=3x3qj5rOA_i2nnMPlXWl0erdKGCdYu98ihPNQcajU3
|
|
|
197
190
|
meshtrade/type/v1/token_pb2.pyi,sha256=vsEKtXtIo5xisr1I4oqxcaMMYyfV-GBMM_f9l8cRxlc,687
|
|
198
191
|
meshtrade/type/v1/token_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
199
192
|
meshtrade/wallet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
200
|
-
meshtrade/wallet/account/v1/__init__.py,sha256=
|
|
193
|
+
meshtrade/wallet/account/v1/__init__.py,sha256=AlqBOQx4qk_O10TrOSy8FEY1mgar-UW8SGoizZ64JiQ,2337
|
|
201
194
|
meshtrade/wallet/account/v1/account_pb2.py,sha256=WAaqC_wu0LgH7pYxtGXfVs64DN1Md2zZrA5uiCaLy9c,6143
|
|
202
195
|
meshtrade/wallet/account/v1/account_pb2.pyi,sha256=pBm246netSQr8IUwdz62Kq69r063JYBhm33-I4eymKo,3361
|
|
203
196
|
meshtrade/wallet/account/v1/account_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
204
|
-
meshtrade/wallet/account/v1/service_meshpy.py,sha256=
|
|
205
|
-
meshtrade/wallet/account/v1/service_options_meshpy.py,sha256=ROVvFr-sub9TMtzHO-s2GkNVvzkjf0Hh7Gw9nO-cljg,2543
|
|
197
|
+
meshtrade/wallet/account/v1/service_meshpy.py,sha256=PM4emjIDDaSCr_3_4ZaYxY-Czvvud_RrxUZrWCD-EOI,9316
|
|
206
198
|
meshtrade/wallet/account/v1/service_pb2.py,sha256=5nCMFtZlx3T9XPO3cycrjPbSSD7_v0lttuPy2iSDjHg,11527
|
|
207
199
|
meshtrade/wallet/account/v1/service_pb2.pyi,sha256=-DT_P3Pw7The581dI02FbxT53VpZAK8BtdvvoUTe_Nc,4734
|
|
208
200
|
meshtrade/wallet/account/v1/service_pb2_grpc.py,sha256=yXPgA-VvToS7uQqq8Wla8zttwgesTDYW3hNRUmA4sT4,18555
|
|
209
|
-
meshtrade-1.
|
|
210
|
-
meshtrade-1.
|
|
211
|
-
meshtrade-1.
|
|
212
|
-
meshtrade-1.
|
|
201
|
+
meshtrade-1.22.0.dist-info/METADATA,sha256=v6u0DKpgKnqzHil91_zxHlJOX-awGwTaO07L8MoHNlo,3007
|
|
202
|
+
meshtrade-1.22.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
203
|
+
meshtrade-1.22.0.dist-info/top_level.txt,sha256=NV0mf_yWXSvBwj2_q5aSz2hN5hQF0QypAiJwV4schJI,14
|
|
204
|
+
meshtrade-1.22.0.dist-info/RECORD,,
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/compliance/client/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for ClientService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for ClientService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/iam/api_user/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for ApiUserService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for ApiUserService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/iam/group/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for GroupService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for GroupService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/iam/user/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for UserService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for UserService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/ledger/transaction/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for TransactionService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for TransactionService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/reporting/account_report/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for AccountReportService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for AccountReportService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/trading/limit_order/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for LimitOrderService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for LimitOrderService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/trading/market_order/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for MarketOrderService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for MarketOrderService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-meshpy. DO NOT EDIT.
|
|
2
|
-
# source: meshtrade/wallet/account/v1/service.proto
|
|
3
|
-
|
|
4
|
-
"""
|
|
5
|
-
Configuration options for AccountService gRPC service.
|
|
6
|
-
This module provides a clean, extensible way to configure the service with optional
|
|
7
|
-
parameters while maintaining backward compatibility and readability.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from datetime import timedelta
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ServiceOptions:
|
|
14
|
-
"""Configuration options for AccountService gRPC service.
|
|
15
|
-
|
|
16
|
-
This class provides a clean, extensible way to configure the service with optional
|
|
17
|
-
parameters while maintaining backward compatibility and readability.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
def __init__(
|
|
21
|
-
self,
|
|
22
|
-
tls: bool = True,
|
|
23
|
-
url: str | None = None,
|
|
24
|
-
port: int | None = None,
|
|
25
|
-
api_key: str | None = None,
|
|
26
|
-
group: str | None = None,
|
|
27
|
-
timeout: timedelta = timedelta(seconds=30),
|
|
28
|
-
):
|
|
29
|
-
"""Initialize service options.
|
|
30
|
-
|
|
31
|
-
Args:
|
|
32
|
-
tls: Whether to use TLS encryption for the gRPC connection.
|
|
33
|
-
When True, establishes a secure connection using TLS.
|
|
34
|
-
When False, uses an insecure connection.
|
|
35
|
-
Default: True (secure connection)
|
|
36
|
-
|
|
37
|
-
url: The server hostname or IP address (e.g., "api.example.com", "localhost").
|
|
38
|
-
Default: Uses DEFAULT_GRPC_URL from common module
|
|
39
|
-
|
|
40
|
-
port: The server port number (e.g., 443 for HTTPS, 8080 for development).
|
|
41
|
-
Default: Uses DEFAULT_GRPC_PORT from common module
|
|
42
|
-
|
|
43
|
-
api_key: The API key string (without "Bearer " prefix) for authentication.
|
|
44
|
-
The API key will be sent as a Bearer token in the Authorization header.
|
|
45
|
-
This is the primary authentication method for service-to-service communication.
|
|
46
|
-
|
|
47
|
-
group: The group resource name in format groups/{group_id} required for all API requests.
|
|
48
|
-
The group determines the authorization context for operations
|
|
49
|
-
and is sent as an "x-group" header with every request.
|
|
50
|
-
|
|
51
|
-
timeout: The default timeout for all gRPC method calls.
|
|
52
|
-
This timeout applies to individual method calls and helps prevent hanging requests.
|
|
53
|
-
If a request takes longer than the specified timeout, it will be cancelled.
|
|
54
|
-
Default: 30 seconds
|
|
55
|
-
"""
|
|
56
|
-
self.tls = tls
|
|
57
|
-
self.url = url
|
|
58
|
-
self.port = port
|
|
59
|
-
self.api_key = api_key
|
|
60
|
-
self.group = group
|
|
61
|
-
self.timeout = timeout
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Create alias to match expected exports
|
|
65
|
-
ClientOptions = ServiceOptions
|
|
File without changes
|
|
File without changes
|