crypticorn 1.0.2rc4__py3-none-any.whl → 2.0.1__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.
- crypticorn/__init__.py +3 -3
- crypticorn/auth/__init__.py +2 -0
- crypticorn/auth/client/__init__.py +112 -0
- crypticorn/auth/client/api/__init__.py +8 -0
- crypticorn/auth/client/api/admin_api.py +522 -0
- crypticorn/auth/client/api/auth_api.py +2089 -0
- crypticorn/auth/client/api/service_api.py +309 -0
- crypticorn/auth/client/api/user_api.py +2540 -0
- crypticorn/auth/client/api/wallet_api.py +1698 -0
- crypticorn/auth/client/api_client.py +758 -0
- crypticorn/auth/client/api_response.py +20 -0
- crypticorn/auth/client/configuration.py +584 -0
- crypticorn/auth/client/exceptions.py +220 -0
- crypticorn/auth/client/models/__init__.py +91 -0
- crypticorn/auth/client/models/add_wallet200_response.py +86 -0
- crypticorn/auth/client/models/add_wallet_request.py +107 -0
- crypticorn/auth/client/models/authorize_user200_response.py +107 -0
- crypticorn/auth/client/models/authorize_user200_response_auth.py +101 -0
- crypticorn/auth/client/models/authorize_user_request.py +96 -0
- crypticorn/auth/client/models/create_user_request.py +114 -0
- crypticorn/auth/client/models/list_wallets200_response.py +137 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +115 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +115 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +168 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +191 -0
- crypticorn/auth/client/models/list_wallets200_response_data_inner.py +102 -0
- crypticorn/auth/client/models/list_wallets200_response_user_value.py +118 -0
- crypticorn/auth/client/models/logout_default_response.py +108 -0
- crypticorn/auth/client/models/logout_default_response_issues_inner.py +83 -0
- crypticorn/auth/client/models/refresh_token_info200_response.py +97 -0
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +105 -0
- crypticorn/auth/client/models/resend_verification_email_request.py +84 -0
- crypticorn/auth/client/models/revoke_user_tokens_request.py +83 -0
- crypticorn/auth/client/models/rotate_tokens200_response.py +110 -0
- crypticorn/auth/client/models/token_info200_response.py +97 -0
- crypticorn/auth/client/models/unlink_wallet_request.py +83 -0
- crypticorn/auth/client/models/update_user_request.py +93 -0
- crypticorn/auth/client/models/user_reset_password_request.py +87 -0
- crypticorn/auth/client/models/user_set_password_request.py +89 -0
- crypticorn/auth/client/models/verify200_response.py +110 -0
- crypticorn/auth/client/models/verify_email200_response.py +107 -0
- crypticorn/auth/client/models/verify_email200_response_auth.py +101 -0
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +110 -0
- crypticorn/auth/client/models/verify_email_request.py +83 -0
- crypticorn/auth/client/models/verify_wallet_request.py +91 -0
- crypticorn/auth/client/models/wallet_verified200_response.py +83 -0
- crypticorn/auth/client/models/whoami200_response.py +104 -0
- crypticorn/auth/client/rest.py +195 -0
- crypticorn/auth/main.py +45 -0
- crypticorn/client.py +46 -8
- crypticorn/common/__init__.py +5 -0
- crypticorn/common/auth.py +43 -0
- crypticorn/common/auth_client.py +183 -0
- crypticorn/common/errors.py +432 -0
- crypticorn/common/scopes.py +36 -0
- crypticorn/common/urls.py +25 -0
- crypticorn/hive/__init__.py +2 -1
- crypticorn/hive/client/__init__.py +57 -0
- crypticorn/hive/client/api/__init__.py +6 -0
- crypticorn/hive/client/api/data_api.py +594 -0
- crypticorn/hive/client/api/models_api.py +1680 -0
- crypticorn/hive/client/api/status_api.py +263 -0
- crypticorn/hive/client/api_client.py +758 -0
- crypticorn/hive/client/api_response.py +20 -0
- crypticorn/hive/client/configuration.py +612 -0
- crypticorn/hive/client/exceptions.py +220 -0
- crypticorn/hive/client/models/__init__.py +38 -0
- crypticorn/hive/client/models/coins.py +44 -0
- crypticorn/hive/client/models/data_download_response.py +113 -0
- crypticorn/hive/client/models/data_info.py +115 -0
- crypticorn/hive/client/models/data_value_value_value_inner.py +154 -0
- crypticorn/hive/client/models/data_version.py +35 -0
- crypticorn/hive/client/models/download_links.py +91 -0
- crypticorn/hive/client/models/evaluation.py +86 -0
- crypticorn/hive/client/models/evaluation_response.py +85 -0
- crypticorn/hive/client/models/feature_size.py +36 -0
- crypticorn/hive/client/models/http_validation_error.py +99 -0
- crypticorn/hive/client/models/model.py +133 -0
- crypticorn/hive/client/models/model_create.py +93 -0
- crypticorn/hive/client/models/model_status.py +35 -0
- crypticorn/hive/client/models/model_update.py +83 -0
- crypticorn/hive/client/models/target.py +36 -0
- crypticorn/hive/client/models/target_type.py +35 -0
- crypticorn/hive/client/models/validation_error.py +105 -0
- crypticorn/hive/client/models/validation_error_loc_inner.py +159 -0
- crypticorn/hive/client/py.typed +0 -0
- crypticorn/hive/client/rest.py +195 -0
- crypticorn/hive/main.py +27 -100
- crypticorn/klines/client/__init__.py +21 -7
- crypticorn/klines/client/api/__init__.py +0 -1
- crypticorn/klines/client/api/funding_rates_api.py +90 -79
- crypticorn/klines/client/api/health_check_api.py +29 -45
- crypticorn/klines/client/api/ohlcv_data_api.py +104 -87
- crypticorn/klines/client/api/symbols_api.py +36 -54
- crypticorn/klines/client/api/udf_api.py +228 -352
- crypticorn/klines/client/api_client.py +106 -148
- crypticorn/klines/client/api_response.py +2 -3
- crypticorn/klines/client/configuration.py +64 -50
- crypticorn/klines/client/exceptions.py +20 -16
- crypticorn/klines/client/models/__init__.py +21 -7
- crypticorn/klines/client/models/base_response_health_check_response.py +21 -15
- crypticorn/klines/client/models/base_response_list_funding_rate_response.py +21 -15
- crypticorn/klines/client/models/base_response_list_str.py +16 -14
- crypticorn/klines/client/models/base_response_ohlcv_response.py +21 -15
- crypticorn/klines/client/models/error_response.py +23 -15
- crypticorn/klines/client/models/exchange.py +11 -11
- crypticorn/klines/client/models/funding_rate_response.py +11 -11
- crypticorn/klines/client/models/health_check_response.py +14 -12
- crypticorn/klines/client/models/history_error_response.py +11 -11
- crypticorn/klines/client/models/history_no_data_response.py +16 -16
- crypticorn/klines/client/models/history_success_response.py +16 -16
- crypticorn/klines/client/models/http_validation_error.py +14 -10
- crypticorn/klines/client/models/market.py +2 -4
- crypticorn/klines/client/models/ohlcv_response.py +22 -15
- crypticorn/klines/client/models/resolution.py +5 -7
- crypticorn/klines/client/models/response_get_history_udf_history_get.py +71 -22
- crypticorn/klines/client/models/search_symbol_response.py +22 -15
- crypticorn/klines/client/models/sort_direction.py +2 -4
- crypticorn/klines/client/models/symbol_group_response.py +5 -9
- crypticorn/klines/client/models/symbol_info_response.py +40 -24
- crypticorn/klines/client/models/symbol_type.py +5 -10
- crypticorn/klines/client/models/timeframe.py +5 -7
- crypticorn/klines/client/models/udf_config_response.py +60 -21
- crypticorn/klines/client/models/validation_error.py +19 -13
- crypticorn/klines/client/models/validation_error_loc_inner.py +32 -11
- crypticorn/klines/client/rest.py +30 -41
- crypticorn/klines/main.py +52 -15
- crypticorn/pay/__init__.py +2 -0
- crypticorn/pay/client/__init__.py +52 -0
- crypticorn/pay/client/api/__init__.py +7 -0
- crypticorn/pay/client/api/now_payments_api.py +813 -0
- crypticorn/pay/client/api/payments_api.py +799 -0
- crypticorn/pay/client/api/products_api.py +891 -0
- crypticorn/pay/client/api/status_api.py +260 -0
- crypticorn/pay/client/api_client.py +758 -0
- crypticorn/pay/client/api_response.py +20 -0
- crypticorn/pay/client/configuration.py +612 -0
- crypticorn/pay/client/exceptions.py +220 -0
- crypticorn/pay/client/models/__init__.py +32 -0
- crypticorn/pay/client/models/api_status_res.py +83 -0
- crypticorn/pay/client/models/combined_payment_history.py +101 -0
- crypticorn/pay/client/models/create_invoice_req.py +188 -0
- crypticorn/pay/client/models/create_invoice_res.py +188 -0
- crypticorn/pay/client/models/currency.py +165 -0
- crypticorn/pay/client/models/estimate_price_req.py +91 -0
- crypticorn/pay/client/models/estimate_price_res.py +102 -0
- crypticorn/pay/client/models/get_currencies_res.py +99 -0
- crypticorn/pay/client/models/get_payment_status_res.py +222 -0
- crypticorn/pay/client/models/get_payments_list_res.py +109 -0
- crypticorn/pay/client/models/http_validation_error.py +99 -0
- crypticorn/pay/client/models/min_amount_req.py +124 -0
- crypticorn/pay/client/models/min_amount_res.py +105 -0
- crypticorn/pay/client/models/now_api_status_res.py +83 -0
- crypticorn/pay/client/models/now_create_invoice_req.py +188 -0
- crypticorn/pay/client/models/now_create_invoice_res.py +188 -0
- crypticorn/pay/client/models/now_fee_structure.py +104 -0
- crypticorn/pay/client/models/now_payment_model.py +124 -0
- crypticorn/pay/client/models/now_payment_status.py +42 -0
- crypticorn/pay/client/models/now_webhook_payload.py +181 -0
- crypticorn/pay/client/models/payment.py +231 -0
- crypticorn/pay/client/models/payment_status.py +40 -0
- crypticorn/pay/client/models/product.py +87 -0
- crypticorn/pay/client/models/product_model.py +119 -0
- crypticorn/pay/client/models/product_subs_model.py +108 -0
- crypticorn/pay/client/models/services.py +34 -0
- crypticorn/pay/client/models/unified_payment_model.py +112 -0
- crypticorn/pay/client/models/validation_error.py +105 -0
- crypticorn/pay/client/models/validation_error_loc_inner.py +159 -0
- crypticorn/pay/client/py.typed +0 -0
- crypticorn/pay/client/rest.py +195 -0
- crypticorn/pay/main.py +35 -0
- crypticorn/trade/client/__init__.py +9 -4
- crypticorn/trade/client/api/__init__.py +0 -1
- crypticorn/trade/client/api/api_keys_api.py +203 -304
- crypticorn/trade/client/api/bots_api.py +177 -250
- crypticorn/trade/client/api/exchanges_api.py +38 -57
- crypticorn/trade/client/api/futures_trading_panel_api.py +223 -321
- crypticorn/trade/client/api/notifications_api.py +247 -364
- crypticorn/trade/client/api/orders_api.py +44 -63
- crypticorn/trade/client/api/status_api.py +35 -53
- crypticorn/trade/client/api/strategies_api.py +852 -64
- crypticorn/trade/client/api/trading_actions_api.py +126 -203
- crypticorn/trade/client/api_client.py +115 -154
- crypticorn/trade/client/api_response.py +2 -3
- crypticorn/trade/client/configuration.py +128 -90
- crypticorn/trade/client/exceptions.py +21 -17
- crypticorn/trade/client/models/__init__.py +9 -4
- crypticorn/trade/client/models/action_model.py +114 -50
- crypticorn/trade/client/models/api_error_identifier.py +60 -51
- crypticorn/trade/client/models/api_error_level.py +37 -0
- crypticorn/trade/client/models/api_error_type.py +37 -0
- crypticorn/trade/client/models/api_key_model.py +49 -28
- crypticorn/trade/client/models/bot_model.py +76 -31
- crypticorn/trade/client/models/bot_status.py +37 -0
- crypticorn/trade/client/models/exchange.py +3 -5
- crypticorn/trade/client/models/execution_ids.py +14 -14
- crypticorn/trade/client/models/futures_balance.py +39 -23
- crypticorn/trade/client/models/futures_trading_action.py +98 -46
- crypticorn/trade/client/models/http_validation_error.py +15 -11
- crypticorn/trade/client/models/margin_mode.py +3 -5
- crypticorn/trade/client/models/market_type.py +3 -5
- crypticorn/trade/client/models/notification_model.py +60 -27
- crypticorn/trade/client/models/notification_type.py +4 -6
- crypticorn/trade/client/models/order_model.py +125 -65
- crypticorn/trade/client/models/order_status.py +6 -8
- crypticorn/trade/client/models/post_futures_action.py +16 -12
- crypticorn/trade/client/models/strategy_exchange_info.py +11 -12
- crypticorn/trade/client/models/strategy_model.py +66 -27
- crypticorn/trade/client/models/strategy_model_input.py +160 -0
- crypticorn/trade/client/models/strategy_model_output.py +160 -0
- crypticorn/trade/client/models/tpsl.py +35 -21
- crypticorn/trade/client/models/trading_action_type.py +5 -7
- crypticorn/trade/client/models/update_notification.py +17 -13
- crypticorn/trade/client/models/validation_error.py +20 -14
- crypticorn/trade/client/models/validation_error_loc_inner.py +33 -12
- crypticorn/trade/client/rest.py +108 -170
- crypticorn/trade/main.py +26 -19
- crypticorn-2.0.1.dist-info/METADATA +92 -0
- crypticorn-2.0.1.dist-info/RECORD +226 -0
- {crypticorn-1.0.2rc4.dist-info → crypticorn-2.0.1.dist-info}/WHEEL +1 -1
- crypticorn/hive/utils.py +0 -109
- crypticorn/klines/test/test_base_response_health_check_response.py +0 -56
- crypticorn/klines/test/test_base_response_list_funding_rate_response.py +0 -59
- crypticorn/klines/test/test_base_response_list_str.py +0 -56
- crypticorn/klines/test/test_base_response_ohlcv_response.py +0 -72
- crypticorn/klines/test/test_error_response.py +0 -57
- crypticorn/klines/test/test_exchange.py +0 -56
- crypticorn/klines/test/test_funding_rate_response.py +0 -56
- crypticorn/klines/test/test_funding_rates_api.py +0 -38
- crypticorn/klines/test/test_health_check_api.py +0 -38
- crypticorn/klines/test/test_health_check_response.py +0 -52
- crypticorn/klines/test/test_history_error_response.py +0 -53
- crypticorn/klines/test/test_history_no_data_response.py +0 -69
- crypticorn/klines/test/test_history_success_response.py +0 -87
- crypticorn/klines/test/test_http_validation_error.py +0 -58
- crypticorn/klines/test/test_market.py +0 -33
- crypticorn/klines/test/test_ohlcv_data_api.py +0 -38
- crypticorn/klines/test/test_ohlcv_response.py +0 -86
- crypticorn/klines/test/test_resolution.py +0 -33
- crypticorn/klines/test/test_response_get_history_udf_history_get.py +0 -89
- crypticorn/klines/test/test_search_symbol_response.py +0 -62
- crypticorn/klines/test/test_sort_direction.py +0 -33
- crypticorn/klines/test/test_symbol_group_response.py +0 -53
- crypticorn/klines/test/test_symbol_info_response.py +0 -84
- crypticorn/klines/test/test_symbol_type.py +0 -54
- crypticorn/klines/test/test_symbols_api.py +0 -38
- crypticorn/klines/test/test_timeframe.py +0 -33
- crypticorn/klines/test/test_udf_api.py +0 -80
- crypticorn/klines/test/test_udf_config_response.py +0 -95
- crypticorn/klines/test/test_validation_error.py +0 -60
- crypticorn/klines/test/test_validation_error_loc_inner.py +0 -50
- crypticorn-1.0.2rc4.dist-info/LICENSE.md +0 -19
- crypticorn-1.0.2rc4.dist-info/METADATA +0 -40
- crypticorn-1.0.2rc4.dist-info/RECORD +0 -125
- /crypticorn/{klines/test/__init__.py → auth/client/py.typed} +0 -0
- {crypticorn-1.0.2rc4.dist-info → crypticorn-2.0.1.dist-info}/top_level.txt +0 -0
@@ -38,7 +38,6 @@ class SymbolsApi:
|
|
38
38
|
api_client = ApiClient.get_default()
|
39
39
|
self.api_client = api_client
|
40
40
|
|
41
|
-
|
42
41
|
@validate_call
|
43
42
|
def symbols_symbols_market_get(
|
44
43
|
self,
|
@@ -47,9 +46,8 @@ class SymbolsApi:
|
|
47
46
|
None,
|
48
47
|
Annotated[StrictFloat, Field(gt=0)],
|
49
48
|
Tuple[
|
50
|
-
Annotated[StrictFloat, Field(gt=0)],
|
51
|
-
|
52
|
-
]
|
49
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
50
|
+
],
|
53
51
|
] = None,
|
54
52
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
55
53
|
_content_type: Optional[StrictStr] = None,
|
@@ -82,25 +80,24 @@ class SymbolsApi:
|
|
82
80
|
in the spec for a single request.
|
83
81
|
:type _host_index: int, optional
|
84
82
|
:return: Returns the result object.
|
85
|
-
"""
|
83
|
+
""" # noqa: E501
|
86
84
|
|
87
85
|
_param = self._symbols_symbols_market_get_serialize(
|
88
86
|
market=market,
|
89
87
|
_request_auth=_request_auth,
|
90
88
|
_content_type=_content_type,
|
91
89
|
_headers=_headers,
|
92
|
-
_host_index=_host_index
|
90
|
+
_host_index=_host_index,
|
93
91
|
)
|
94
92
|
|
95
93
|
_response_types_map: Dict[str, Optional[str]] = {
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
94
|
+
"200": "BaseResponseListStr",
|
95
|
+
"404": "ErrorResponse",
|
96
|
+
"500": "ErrorResponse",
|
97
|
+
"422": "HTTPValidationError",
|
100
98
|
}
|
101
99
|
response_data = self.api_client.call_api(
|
102
|
-
*_param,
|
103
|
-
_request_timeout=_request_timeout
|
100
|
+
*_param, _request_timeout=_request_timeout
|
104
101
|
)
|
105
102
|
response_data.read()
|
106
103
|
return self.api_client.response_deserialize(
|
@@ -108,7 +105,6 @@ class SymbolsApi:
|
|
108
105
|
response_types_map=_response_types_map,
|
109
106
|
).data
|
110
107
|
|
111
|
-
|
112
108
|
@validate_call
|
113
109
|
def symbols_symbols_market_get_with_http_info(
|
114
110
|
self,
|
@@ -117,9 +113,8 @@ class SymbolsApi:
|
|
117
113
|
None,
|
118
114
|
Annotated[StrictFloat, Field(gt=0)],
|
119
115
|
Tuple[
|
120
|
-
Annotated[StrictFloat, Field(gt=0)],
|
121
|
-
|
122
|
-
]
|
116
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
117
|
+
],
|
123
118
|
] = None,
|
124
119
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
125
120
|
_content_type: Optional[StrictStr] = None,
|
@@ -152,25 +147,24 @@ class SymbolsApi:
|
|
152
147
|
in the spec for a single request.
|
153
148
|
:type _host_index: int, optional
|
154
149
|
:return: Returns the result object.
|
155
|
-
"""
|
150
|
+
""" # noqa: E501
|
156
151
|
|
157
152
|
_param = self._symbols_symbols_market_get_serialize(
|
158
153
|
market=market,
|
159
154
|
_request_auth=_request_auth,
|
160
155
|
_content_type=_content_type,
|
161
156
|
_headers=_headers,
|
162
|
-
_host_index=_host_index
|
157
|
+
_host_index=_host_index,
|
163
158
|
)
|
164
159
|
|
165
160
|
_response_types_map: Dict[str, Optional[str]] = {
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
161
|
+
"200": "BaseResponseListStr",
|
162
|
+
"404": "ErrorResponse",
|
163
|
+
"500": "ErrorResponse",
|
164
|
+
"422": "HTTPValidationError",
|
170
165
|
}
|
171
166
|
response_data = self.api_client.call_api(
|
172
|
-
*_param,
|
173
|
-
_request_timeout=_request_timeout
|
167
|
+
*_param, _request_timeout=_request_timeout
|
174
168
|
)
|
175
169
|
response_data.read()
|
176
170
|
return self.api_client.response_deserialize(
|
@@ -178,7 +172,6 @@ class SymbolsApi:
|
|
178
172
|
response_types_map=_response_types_map,
|
179
173
|
)
|
180
174
|
|
181
|
-
|
182
175
|
@validate_call
|
183
176
|
def symbols_symbols_market_get_without_preload_content(
|
184
177
|
self,
|
@@ -187,9 +180,8 @@ class SymbolsApi:
|
|
187
180
|
None,
|
188
181
|
Annotated[StrictFloat, Field(gt=0)],
|
189
182
|
Tuple[
|
190
|
-
Annotated[StrictFloat, Field(gt=0)],
|
191
|
-
|
192
|
-
]
|
183
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
184
|
+
],
|
193
185
|
] = None,
|
194
186
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
195
187
|
_content_type: Optional[StrictStr] = None,
|
@@ -222,29 +214,27 @@ class SymbolsApi:
|
|
222
214
|
in the spec for a single request.
|
223
215
|
:type _host_index: int, optional
|
224
216
|
:return: Returns the result object.
|
225
|
-
"""
|
217
|
+
""" # noqa: E501
|
226
218
|
|
227
219
|
_param = self._symbols_symbols_market_get_serialize(
|
228
220
|
market=market,
|
229
221
|
_request_auth=_request_auth,
|
230
222
|
_content_type=_content_type,
|
231
223
|
_headers=_headers,
|
232
|
-
_host_index=_host_index
|
224
|
+
_host_index=_host_index,
|
233
225
|
)
|
234
226
|
|
235
227
|
_response_types_map: Dict[str, Optional[str]] = {
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
228
|
+
"200": "BaseResponseListStr",
|
229
|
+
"404": "ErrorResponse",
|
230
|
+
"500": "ErrorResponse",
|
231
|
+
"422": "HTTPValidationError",
|
240
232
|
}
|
241
233
|
response_data = self.api_client.call_api(
|
242
|
-
*_param,
|
243
|
-
_request_timeout=_request_timeout
|
234
|
+
*_param, _request_timeout=_request_timeout
|
244
235
|
)
|
245
236
|
return response_data.response
|
246
237
|
|
247
|
-
|
248
238
|
def _symbols_symbols_market_get_serialize(
|
249
239
|
self,
|
250
240
|
market,
|
@@ -256,8 +246,7 @@ class SymbolsApi:
|
|
256
246
|
|
257
247
|
_host = None
|
258
248
|
|
259
|
-
_collection_formats: Dict[str, str] = {
|
260
|
-
}
|
249
|
+
_collection_formats: Dict[str, str] = {}
|
261
250
|
|
262
251
|
_path_params: Dict[str, str] = {}
|
263
252
|
_query_params: List[Tuple[str, str]] = []
|
@@ -270,29 +259,24 @@ class SymbolsApi:
|
|
270
259
|
|
271
260
|
# process the path parameters
|
272
261
|
if market is not None:
|
273
|
-
_path_params[
|
262
|
+
_path_params["market"] = market.value
|
274
263
|
# process the query parameters
|
275
264
|
# process the header parameters
|
276
265
|
# process the form parameters
|
277
266
|
# process the body parameter
|
278
267
|
|
279
|
-
|
280
268
|
# set the HTTP header `Accept`
|
281
|
-
if
|
282
|
-
_header_params[
|
283
|
-
[
|
284
|
-
'application/json'
|
285
|
-
]
|
269
|
+
if "Accept" not in _header_params:
|
270
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
271
|
+
["application/json"]
|
286
272
|
)
|
287
273
|
|
288
|
-
|
289
274
|
# authentication setting
|
290
|
-
_auth_settings: List[str] = [
|
291
|
-
]
|
275
|
+
_auth_settings: List[str] = []
|
292
276
|
|
293
277
|
return self.api_client.param_serialize(
|
294
|
-
method=
|
295
|
-
resource_path=
|
278
|
+
method="GET",
|
279
|
+
resource_path="/symbols/{market}",
|
296
280
|
path_params=_path_params,
|
297
281
|
query_params=_query_params,
|
298
282
|
header_params=_header_params,
|
@@ -302,7 +286,5 @@ class SymbolsApi:
|
|
302
286
|
auth_settings=_auth_settings,
|
303
287
|
collection_formats=_collection_formats,
|
304
288
|
_host=_host,
|
305
|
-
_request_auth=_request_auth
|
289
|
+
_request_auth=_request_auth,
|
306
290
|
)
|
307
|
-
|
308
|
-
|