meshtrade 1.21.0__tar.gz → 1.22.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of meshtrade might be problematic. Click here for more details.
- {meshtrade-1.21.0 → meshtrade-1.22.0}/PKG-INFO +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/pyproject.toml +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/common/grpc_client.py +93 -0
- meshtrade-1.22.0/python/src/meshtrade/common/service_options.py +46 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/__init__.py +0 -2
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_meshpy.py +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/PKG-INFO +1 -1
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/SOURCES.txt +1 -9
- meshtrade-1.21.0/python/src/meshtrade/compliance/client/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/iam/api_user/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/iam/group/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/iam/user/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/ledger/transaction/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/reporting/account_report/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/trading/limit_order/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/trading/market_order/v1/service_options_meshpy.py +0 -65
- meshtrade-1.21.0/python/src/meshtrade/wallet/account/v1/service_options_meshpy.py +0 -65
- {meshtrade-1.21.0 → meshtrade-1.22.0}/README.md +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/buf/validate/validate_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/buf/validate/validate_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/common/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/common/config.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/client_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/client_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/client_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/fund_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/trust_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/group_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/group_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/group_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/user_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/user_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/user_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/method_type_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/method_type_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/method_type_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/address_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/address_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/address_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/contact_details_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/contact_details_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/contact_details_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_built_in_conversions.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/sorting_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/sorting_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/sorting_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/token_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/token_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/token_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/__init__.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/account_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/account_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/account_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_pb2.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_pb2.pyi +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/dependency_links.txt +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/requires.txt +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/top_level.txt +0 -0
- {meshtrade-1.21.0 → meshtrade-1.22.0}/setup.cfg +0 -0
|
@@ -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",
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_meshpy.py
RENAMED
|
@@ -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",
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_meshpy.py
RENAMED
|
@@ -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,
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/__init__.py
RENAMED
|
@@ -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",
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_meshpy.py
RENAMED
|
@@ -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,
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/__init__.py
RENAMED
|
@@ -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,
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/__init__.py
RENAMED
|
@@ -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",
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_meshpy.py
RENAMED
|
@@ -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
|
)
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/__init__.py
RENAMED
|
@@ -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",
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_meshpy.py
RENAMED
|
@@ -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",
|
{meshtrade-1.21.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_meshpy.py
RENAMED
|
@@ -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,
|
|
@@ -11,6 +11,7 @@ python/src/meshtrade.egg-info/top_level.txt
|
|
|
11
11
|
python/src/meshtrade/common/__init__.py
|
|
12
12
|
python/src/meshtrade/common/config.py
|
|
13
13
|
python/src/meshtrade/common/grpc_client.py
|
|
14
|
+
python/src/meshtrade/common/service_options.py
|
|
14
15
|
python/src/meshtrade/compliance/__init__.py
|
|
15
16
|
python/src/meshtrade/compliance/client/__init__.py
|
|
16
17
|
python/src/meshtrade/compliance/client/v1/__init__.py
|
|
@@ -45,7 +46,6 @@ python/src/meshtrade/compliance/client/v1/pep_status_pb2.py
|
|
|
45
46
|
python/src/meshtrade/compliance/client/v1/pep_status_pb2.pyi
|
|
46
47
|
python/src/meshtrade/compliance/client/v1/pep_status_pb2_grpc.py
|
|
47
48
|
python/src/meshtrade/compliance/client/v1/service_meshpy.py
|
|
48
|
-
python/src/meshtrade/compliance/client/v1/service_options_meshpy.py
|
|
49
49
|
python/src/meshtrade/compliance/client/v1/service_pb2.py
|
|
50
50
|
python/src/meshtrade/compliance/client/v1/service_pb2.pyi
|
|
51
51
|
python/src/meshtrade/compliance/client/v1/service_pb2_grpc.py
|
|
@@ -72,7 +72,6 @@ python/src/meshtrade/iam/api_user/v1/api_user_pb2.pyi
|
|
|
72
72
|
python/src/meshtrade/iam/api_user/v1/api_user_pb2_grpc.py
|
|
73
73
|
python/src/meshtrade/iam/api_user/v1/service.py
|
|
74
74
|
python/src/meshtrade/iam/api_user/v1/service_meshpy.py
|
|
75
|
-
python/src/meshtrade/iam/api_user/v1/service_options_meshpy.py
|
|
76
75
|
python/src/meshtrade/iam/api_user/v1/service_pb2.py
|
|
77
76
|
python/src/meshtrade/iam/api_user/v1/service_pb2.pyi
|
|
78
77
|
python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py
|
|
@@ -82,7 +81,6 @@ python/src/meshtrade/iam/group/v1/group_pb2.py
|
|
|
82
81
|
python/src/meshtrade/iam/group/v1/group_pb2.pyi
|
|
83
82
|
python/src/meshtrade/iam/group/v1/group_pb2_grpc.py
|
|
84
83
|
python/src/meshtrade/iam/group/v1/service_meshpy.py
|
|
85
|
-
python/src/meshtrade/iam/group/v1/service_options_meshpy.py
|
|
86
84
|
python/src/meshtrade/iam/group/v1/service_pb2.py
|
|
87
85
|
python/src/meshtrade/iam/group/v1/service_pb2.pyi
|
|
88
86
|
python/src/meshtrade/iam/group/v1/service_pb2_grpc.py
|
|
@@ -93,7 +91,6 @@ python/src/meshtrade/iam/role/v1/role_pb2.pyi
|
|
|
93
91
|
python/src/meshtrade/iam/role/v1/role_pb2_grpc.py
|
|
94
92
|
python/src/meshtrade/iam/user/v1/__init__.py
|
|
95
93
|
python/src/meshtrade/iam/user/v1/service_meshpy.py
|
|
96
|
-
python/src/meshtrade/iam/user/v1/service_options_meshpy.py
|
|
97
94
|
python/src/meshtrade/iam/user/v1/service_pb2.py
|
|
98
95
|
python/src/meshtrade/iam/user/v1/service_pb2.pyi
|
|
99
96
|
python/src/meshtrade/iam/user/v1/service_pb2_grpc.py
|
|
@@ -104,7 +101,6 @@ python/src/meshtrade/ledger/__init__.py
|
|
|
104
101
|
python/src/meshtrade/ledger/transaction/__init__.py
|
|
105
102
|
python/src/meshtrade/ledger/transaction/v1/__init__.py
|
|
106
103
|
python/src/meshtrade/ledger/transaction/v1/service_meshpy.py
|
|
107
|
-
python/src/meshtrade/ledger/transaction/v1/service_options_meshpy.py
|
|
108
104
|
python/src/meshtrade/ledger/transaction/v1/service_pb2.py
|
|
109
105
|
python/src/meshtrade/ledger/transaction/v1/service_pb2.pyi
|
|
110
106
|
python/src/meshtrade/ledger/transaction/v1/service_pb2_grpc.py
|
|
@@ -132,7 +128,6 @@ python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.py
|
|
|
132
128
|
python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.pyi
|
|
133
129
|
python/src/meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py
|
|
134
130
|
python/src/meshtrade/reporting/account_report/v1/service_meshpy.py
|
|
135
|
-
python/src/meshtrade/reporting/account_report/v1/service_options_meshpy.py
|
|
136
131
|
python/src/meshtrade/reporting/account_report/v1/service_pb2.py
|
|
137
132
|
python/src/meshtrade/reporting/account_report/v1/service_pb2.pyi
|
|
138
133
|
python/src/meshtrade/reporting/account_report/v1/service_pb2_grpc.py
|
|
@@ -156,7 +151,6 @@ python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.py
|
|
|
156
151
|
python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.pyi
|
|
157
152
|
python/src/meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py
|
|
158
153
|
python/src/meshtrade/trading/limit_order/v1/service_meshpy.py
|
|
159
|
-
python/src/meshtrade/trading/limit_order/v1/service_options_meshpy.py
|
|
160
154
|
python/src/meshtrade/trading/limit_order/v1/service_pb2.py
|
|
161
155
|
python/src/meshtrade/trading/limit_order/v1/service_pb2.pyi
|
|
162
156
|
python/src/meshtrade/trading/limit_order/v1/service_pb2_grpc.py
|
|
@@ -165,7 +159,6 @@ python/src/meshtrade/trading/market_order/v1/market_order_pb2.py
|
|
|
165
159
|
python/src/meshtrade/trading/market_order/v1/market_order_pb2.pyi
|
|
166
160
|
python/src/meshtrade/trading/market_order/v1/market_order_pb2_grpc.py
|
|
167
161
|
python/src/meshtrade/trading/market_order/v1/service_meshpy.py
|
|
168
|
-
python/src/meshtrade/trading/market_order/v1/service_options_meshpy.py
|
|
169
162
|
python/src/meshtrade/trading/market_order/v1/service_pb2.py
|
|
170
163
|
python/src/meshtrade/trading/market_order/v1/service_pb2.pyi
|
|
171
164
|
python/src/meshtrade/trading/market_order/v1/service_pb2_grpc.py
|
|
@@ -209,7 +202,6 @@ python/src/meshtrade/wallet/account/v1/account_pb2.py
|
|
|
209
202
|
python/src/meshtrade/wallet/account/v1/account_pb2.pyi
|
|
210
203
|
python/src/meshtrade/wallet/account/v1/account_pb2_grpc.py
|
|
211
204
|
python/src/meshtrade/wallet/account/v1/service_meshpy.py
|
|
212
|
-
python/src/meshtrade/wallet/account/v1/service_options_meshpy.py
|
|
213
205
|
python/src/meshtrade/wallet/account/v1/service_pb2.py
|
|
214
206
|
python/src/meshtrade/wallet/account/v1/service_pb2.pyi
|
|
215
207
|
python/src/meshtrade/wallet/account/v1/service_pb2_grpc.py
|
|
@@ -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
|