crypticorn 1.0.2rc3__py3-none-any.whl → 2.0.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.
- 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 +163 -0
- crypticorn/common/errors.py +432 -0
- crypticorn/common/scopes.py +29 -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.0.dist-info/METADATA +74 -0
- crypticorn-2.0.0.dist-info/RECORD +226 -0
- {crypticorn-1.0.2rc3.dist-info → crypticorn-2.0.0.dist-info}/WHEEL +1 -1
- crypticorn/hive/requirements.txt +0 -4
- crypticorn/hive/utils.py +0 -109
- crypticorn/klines/requirements.txt +0 -4
- 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/trade/requirements.txt +0 -4
- crypticorn-1.0.2rc3.dist-info/LICENSE.md +0 -19
- crypticorn-1.0.2rc3.dist-info/METADATA +0 -47
- crypticorn-1.0.2rc3.dist-info/RECORD +0 -128
- /crypticorn/{klines/test/__init__.py → auth/client/py.typed} +0 -0
- {crypticorn-1.0.2rc3.dist-info → crypticorn-2.0.0.dist-info}/top_level.txt +0 -0
@@ -19,7 +19,9 @@ from typing_extensions import Annotated
|
|
19
19
|
from pydantic import StrictInt, StrictStr
|
20
20
|
from typing import Any, List, Optional
|
21
21
|
from crypticorn.klines.client.models.resolution import Resolution
|
22
|
-
from crypticorn.klines.client.models.response_get_history_udf_history_get import
|
22
|
+
from crypticorn.klines.client.models.response_get_history_udf_history_get import (
|
23
|
+
ResponseGetHistoryUdfHistoryGet,
|
24
|
+
)
|
23
25
|
from crypticorn.klines.client.models.search_symbol_response import SearchSymbolResponse
|
24
26
|
from crypticorn.klines.client.models.symbol_group_response import SymbolGroupResponse
|
25
27
|
from crypticorn.klines.client.models.symbol_info_response import SymbolInfoResponse
|
@@ -42,7 +44,6 @@ class UDFApi:
|
|
42
44
|
api_client = ApiClient.get_default()
|
43
45
|
self.api_client = api_client
|
44
46
|
|
45
|
-
|
46
47
|
@validate_call
|
47
48
|
def get_config_udf_config_get(
|
48
49
|
self,
|
@@ -50,9 +51,8 @@ class UDFApi:
|
|
50
51
|
None,
|
51
52
|
Annotated[StrictFloat, Field(gt=0)],
|
52
53
|
Tuple[
|
53
|
-
Annotated[StrictFloat, Field(gt=0)],
|
54
|
-
|
55
|
-
]
|
54
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
55
|
+
],
|
56
56
|
] = None,
|
57
57
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
58
58
|
_content_type: Optional[StrictStr] = None,
|
@@ -82,21 +82,20 @@ class UDFApi:
|
|
82
82
|
in the spec for a single request.
|
83
83
|
:type _host_index: int, optional
|
84
84
|
:return: Returns the result object.
|
85
|
-
"""
|
85
|
+
""" # noqa: E501
|
86
86
|
|
87
87
|
_param = self._get_config_udf_config_get_serialize(
|
88
88
|
_request_auth=_request_auth,
|
89
89
|
_content_type=_content_type,
|
90
90
|
_headers=_headers,
|
91
|
-
_host_index=_host_index
|
91
|
+
_host_index=_host_index,
|
92
92
|
)
|
93
93
|
|
94
94
|
_response_types_map: Dict[str, Optional[str]] = {
|
95
|
-
|
95
|
+
"200": "UDFConfigResponse",
|
96
96
|
}
|
97
97
|
response_data = self.api_client.call_api(
|
98
|
-
*_param,
|
99
|
-
_request_timeout=_request_timeout
|
98
|
+
*_param, _request_timeout=_request_timeout
|
100
99
|
)
|
101
100
|
response_data.read()
|
102
101
|
return self.api_client.response_deserialize(
|
@@ -104,7 +103,6 @@ class UDFApi:
|
|
104
103
|
response_types_map=_response_types_map,
|
105
104
|
).data
|
106
105
|
|
107
|
-
|
108
106
|
@validate_call
|
109
107
|
def get_config_udf_config_get_with_http_info(
|
110
108
|
self,
|
@@ -112,9 +110,8 @@ class UDFApi:
|
|
112
110
|
None,
|
113
111
|
Annotated[StrictFloat, Field(gt=0)],
|
114
112
|
Tuple[
|
115
|
-
Annotated[StrictFloat, Field(gt=0)],
|
116
|
-
|
117
|
-
]
|
113
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
114
|
+
],
|
118
115
|
] = None,
|
119
116
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
120
117
|
_content_type: Optional[StrictStr] = None,
|
@@ -144,21 +141,20 @@ class UDFApi:
|
|
144
141
|
in the spec for a single request.
|
145
142
|
:type _host_index: int, optional
|
146
143
|
:return: Returns the result object.
|
147
|
-
"""
|
144
|
+
""" # noqa: E501
|
148
145
|
|
149
146
|
_param = self._get_config_udf_config_get_serialize(
|
150
147
|
_request_auth=_request_auth,
|
151
148
|
_content_type=_content_type,
|
152
149
|
_headers=_headers,
|
153
|
-
_host_index=_host_index
|
150
|
+
_host_index=_host_index,
|
154
151
|
)
|
155
152
|
|
156
153
|
_response_types_map: Dict[str, Optional[str]] = {
|
157
|
-
|
154
|
+
"200": "UDFConfigResponse",
|
158
155
|
}
|
159
156
|
response_data = self.api_client.call_api(
|
160
|
-
*_param,
|
161
|
-
_request_timeout=_request_timeout
|
157
|
+
*_param, _request_timeout=_request_timeout
|
162
158
|
)
|
163
159
|
response_data.read()
|
164
160
|
return self.api_client.response_deserialize(
|
@@ -166,7 +162,6 @@ class UDFApi:
|
|
166
162
|
response_types_map=_response_types_map,
|
167
163
|
)
|
168
164
|
|
169
|
-
|
170
165
|
@validate_call
|
171
166
|
def get_config_udf_config_get_without_preload_content(
|
172
167
|
self,
|
@@ -174,9 +169,8 @@ class UDFApi:
|
|
174
169
|
None,
|
175
170
|
Annotated[StrictFloat, Field(gt=0)],
|
176
171
|
Tuple[
|
177
|
-
Annotated[StrictFloat, Field(gt=0)],
|
178
|
-
|
179
|
-
]
|
172
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
173
|
+
],
|
180
174
|
] = None,
|
181
175
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
182
176
|
_content_type: Optional[StrictStr] = None,
|
@@ -206,25 +200,23 @@ class UDFApi:
|
|
206
200
|
in the spec for a single request.
|
207
201
|
:type _host_index: int, optional
|
208
202
|
:return: Returns the result object.
|
209
|
-
"""
|
203
|
+
""" # noqa: E501
|
210
204
|
|
211
205
|
_param = self._get_config_udf_config_get_serialize(
|
212
206
|
_request_auth=_request_auth,
|
213
207
|
_content_type=_content_type,
|
214
208
|
_headers=_headers,
|
215
|
-
_host_index=_host_index
|
209
|
+
_host_index=_host_index,
|
216
210
|
)
|
217
211
|
|
218
212
|
_response_types_map: Dict[str, Optional[str]] = {
|
219
|
-
|
213
|
+
"200": "UDFConfigResponse",
|
220
214
|
}
|
221
215
|
response_data = self.api_client.call_api(
|
222
|
-
*_param,
|
223
|
-
_request_timeout=_request_timeout
|
216
|
+
*_param, _request_timeout=_request_timeout
|
224
217
|
)
|
225
218
|
return response_data.response
|
226
219
|
|
227
|
-
|
228
220
|
def _get_config_udf_config_get_serialize(
|
229
221
|
self,
|
230
222
|
_request_auth,
|
@@ -235,8 +227,7 @@ class UDFApi:
|
|
235
227
|
|
236
228
|
_host = None
|
237
229
|
|
238
|
-
_collection_formats: Dict[str, str] = {
|
239
|
-
}
|
230
|
+
_collection_formats: Dict[str, str] = {}
|
240
231
|
|
241
232
|
_path_params: Dict[str, str] = {}
|
242
233
|
_query_params: List[Tuple[str, str]] = []
|
@@ -253,23 +244,18 @@ class UDFApi:
|
|
253
244
|
# process the form parameters
|
254
245
|
# process the body parameter
|
255
246
|
|
256
|
-
|
257
247
|
# set the HTTP header `Accept`
|
258
|
-
if
|
259
|
-
_header_params[
|
260
|
-
[
|
261
|
-
'application/json'
|
262
|
-
]
|
248
|
+
if "Accept" not in _header_params:
|
249
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
250
|
+
["application/json"]
|
263
251
|
)
|
264
252
|
|
265
|
-
|
266
253
|
# authentication setting
|
267
|
-
_auth_settings: List[str] = [
|
268
|
-
]
|
254
|
+
_auth_settings: List[str] = []
|
269
255
|
|
270
256
|
return self.api_client.param_serialize(
|
271
|
-
method=
|
272
|
-
resource_path=
|
257
|
+
method="GET",
|
258
|
+
resource_path="/udf/config",
|
273
259
|
path_params=_path_params,
|
274
260
|
query_params=_query_params,
|
275
261
|
header_params=_header_params,
|
@@ -279,12 +265,9 @@ class UDFApi:
|
|
279
265
|
auth_settings=_auth_settings,
|
280
266
|
collection_formats=_collection_formats,
|
281
267
|
_host=_host,
|
282
|
-
_request_auth=_request_auth
|
268
|
+
_request_auth=_request_auth,
|
283
269
|
)
|
284
270
|
|
285
|
-
|
286
|
-
|
287
|
-
|
288
271
|
@validate_call
|
289
272
|
def get_history_udf_history_get(
|
290
273
|
self,
|
@@ -297,9 +280,8 @@ class UDFApi:
|
|
297
280
|
None,
|
298
281
|
Annotated[StrictFloat, Field(gt=0)],
|
299
282
|
Tuple[
|
300
|
-
Annotated[StrictFloat, Field(gt=0)],
|
301
|
-
|
302
|
-
]
|
283
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
284
|
+
],
|
303
285
|
] = None,
|
304
286
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
305
287
|
_content_type: Optional[StrictStr] = None,
|
@@ -339,7 +321,7 @@ class UDFApi:
|
|
339
321
|
in the spec for a single request.
|
340
322
|
:type _host_index: int, optional
|
341
323
|
:return: Returns the result object.
|
342
|
-
"""
|
324
|
+
""" # noqa: E501
|
343
325
|
|
344
326
|
_param = self._get_history_udf_history_get_serialize(
|
345
327
|
symbol=symbol,
|
@@ -350,16 +332,15 @@ class UDFApi:
|
|
350
332
|
_request_auth=_request_auth,
|
351
333
|
_content_type=_content_type,
|
352
334
|
_headers=_headers,
|
353
|
-
_host_index=_host_index
|
335
|
+
_host_index=_host_index,
|
354
336
|
)
|
355
337
|
|
356
338
|
_response_types_map: Dict[str, Optional[str]] = {
|
357
|
-
|
358
|
-
|
339
|
+
"200": "ResponseGetHistoryUdfHistoryGet",
|
340
|
+
"422": "HTTPValidationError",
|
359
341
|
}
|
360
342
|
response_data = self.api_client.call_api(
|
361
|
-
*_param,
|
362
|
-
_request_timeout=_request_timeout
|
343
|
+
*_param, _request_timeout=_request_timeout
|
363
344
|
)
|
364
345
|
response_data.read()
|
365
346
|
return self.api_client.response_deserialize(
|
@@ -367,7 +348,6 @@ class UDFApi:
|
|
367
348
|
response_types_map=_response_types_map,
|
368
349
|
).data
|
369
350
|
|
370
|
-
|
371
351
|
@validate_call
|
372
352
|
def get_history_udf_history_get_with_http_info(
|
373
353
|
self,
|
@@ -380,9 +360,8 @@ class UDFApi:
|
|
380
360
|
None,
|
381
361
|
Annotated[StrictFloat, Field(gt=0)],
|
382
362
|
Tuple[
|
383
|
-
Annotated[StrictFloat, Field(gt=0)],
|
384
|
-
|
385
|
-
]
|
363
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
364
|
+
],
|
386
365
|
] = None,
|
387
366
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
388
367
|
_content_type: Optional[StrictStr] = None,
|
@@ -422,7 +401,7 @@ class UDFApi:
|
|
422
401
|
in the spec for a single request.
|
423
402
|
:type _host_index: int, optional
|
424
403
|
:return: Returns the result object.
|
425
|
-
"""
|
404
|
+
""" # noqa: E501
|
426
405
|
|
427
406
|
_param = self._get_history_udf_history_get_serialize(
|
428
407
|
symbol=symbol,
|
@@ -433,16 +412,15 @@ class UDFApi:
|
|
433
412
|
_request_auth=_request_auth,
|
434
413
|
_content_type=_content_type,
|
435
414
|
_headers=_headers,
|
436
|
-
_host_index=_host_index
|
415
|
+
_host_index=_host_index,
|
437
416
|
)
|
438
417
|
|
439
418
|
_response_types_map: Dict[str, Optional[str]] = {
|
440
|
-
|
441
|
-
|
419
|
+
"200": "ResponseGetHistoryUdfHistoryGet",
|
420
|
+
"422": "HTTPValidationError",
|
442
421
|
}
|
443
422
|
response_data = self.api_client.call_api(
|
444
|
-
*_param,
|
445
|
-
_request_timeout=_request_timeout
|
423
|
+
*_param, _request_timeout=_request_timeout
|
446
424
|
)
|
447
425
|
response_data.read()
|
448
426
|
return self.api_client.response_deserialize(
|
@@ -450,7 +428,6 @@ class UDFApi:
|
|
450
428
|
response_types_map=_response_types_map,
|
451
429
|
)
|
452
430
|
|
453
|
-
|
454
431
|
@validate_call
|
455
432
|
def get_history_udf_history_get_without_preload_content(
|
456
433
|
self,
|
@@ -463,9 +440,8 @@ class UDFApi:
|
|
463
440
|
None,
|
464
441
|
Annotated[StrictFloat, Field(gt=0)],
|
465
442
|
Tuple[
|
466
|
-
Annotated[StrictFloat, Field(gt=0)],
|
467
|
-
|
468
|
-
]
|
443
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
444
|
+
],
|
469
445
|
] = None,
|
470
446
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
471
447
|
_content_type: Optional[StrictStr] = None,
|
@@ -505,7 +481,7 @@ class UDFApi:
|
|
505
481
|
in the spec for a single request.
|
506
482
|
:type _host_index: int, optional
|
507
483
|
:return: Returns the result object.
|
508
|
-
"""
|
484
|
+
""" # noqa: E501
|
509
485
|
|
510
486
|
_param = self._get_history_udf_history_get_serialize(
|
511
487
|
symbol=symbol,
|
@@ -516,20 +492,18 @@ class UDFApi:
|
|
516
492
|
_request_auth=_request_auth,
|
517
493
|
_content_type=_content_type,
|
518
494
|
_headers=_headers,
|
519
|
-
_host_index=_host_index
|
495
|
+
_host_index=_host_index,
|
520
496
|
)
|
521
497
|
|
522
498
|
_response_types_map: Dict[str, Optional[str]] = {
|
523
|
-
|
524
|
-
|
499
|
+
"200": "ResponseGetHistoryUdfHistoryGet",
|
500
|
+
"422": "HTTPValidationError",
|
525
501
|
}
|
526
502
|
response_data = self.api_client.call_api(
|
527
|
-
*_param,
|
528
|
-
_request_timeout=_request_timeout
|
503
|
+
*_param, _request_timeout=_request_timeout
|
529
504
|
)
|
530
505
|
return response_data.response
|
531
506
|
|
532
|
-
|
533
507
|
def _get_history_udf_history_get_serialize(
|
534
508
|
self,
|
535
509
|
symbol,
|
@@ -545,8 +519,7 @@ class UDFApi:
|
|
545
519
|
|
546
520
|
_host = None
|
547
521
|
|
548
|
-
_collection_formats: Dict[str, str] = {
|
549
|
-
}
|
522
|
+
_collection_formats: Dict[str, str] = {}
|
550
523
|
|
551
524
|
_path_params: Dict[str, str] = {}
|
552
525
|
_query_params: List[Tuple[str, str]] = []
|
@@ -560,46 +533,41 @@ class UDFApi:
|
|
560
533
|
# process the path parameters
|
561
534
|
# process the query parameters
|
562
535
|
if symbol is not None:
|
563
|
-
|
564
|
-
_query_params.append((
|
565
|
-
|
536
|
+
|
537
|
+
_query_params.append(("symbol", symbol))
|
538
|
+
|
566
539
|
if resolution is not None:
|
567
|
-
|
568
|
-
_query_params.append((
|
569
|
-
|
540
|
+
|
541
|
+
_query_params.append(("resolution", resolution.value))
|
542
|
+
|
570
543
|
if var_from is not None:
|
571
|
-
|
572
|
-
_query_params.append((
|
573
|
-
|
544
|
+
|
545
|
+
_query_params.append(("from", var_from))
|
546
|
+
|
574
547
|
if to is not None:
|
575
|
-
|
576
|
-
_query_params.append((
|
577
|
-
|
548
|
+
|
549
|
+
_query_params.append(("to", to))
|
550
|
+
|
578
551
|
if countback is not None:
|
579
|
-
|
580
|
-
_query_params.append((
|
581
|
-
|
552
|
+
|
553
|
+
_query_params.append(("countback", countback))
|
554
|
+
|
582
555
|
# process the header parameters
|
583
556
|
# process the form parameters
|
584
557
|
# process the body parameter
|
585
558
|
|
586
|
-
|
587
559
|
# set the HTTP header `Accept`
|
588
|
-
if
|
589
|
-
_header_params[
|
590
|
-
[
|
591
|
-
'application/json'
|
592
|
-
]
|
560
|
+
if "Accept" not in _header_params:
|
561
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
562
|
+
["application/json"]
|
593
563
|
)
|
594
564
|
|
595
|
-
|
596
565
|
# authentication setting
|
597
|
-
_auth_settings: List[str] = [
|
598
|
-
]
|
566
|
+
_auth_settings: List[str] = []
|
599
567
|
|
600
568
|
return self.api_client.param_serialize(
|
601
|
-
method=
|
602
|
-
resource_path=
|
569
|
+
method="GET",
|
570
|
+
resource_path="/udf/history",
|
603
571
|
path_params=_path_params,
|
604
572
|
query_params=_query_params,
|
605
573
|
header_params=_header_params,
|
@@ -609,12 +577,9 @@ class UDFApi:
|
|
609
577
|
auth_settings=_auth_settings,
|
610
578
|
collection_formats=_collection_formats,
|
611
579
|
_host=_host,
|
612
|
-
_request_auth=_request_auth
|
580
|
+
_request_auth=_request_auth,
|
613
581
|
)
|
614
582
|
|
615
|
-
|
616
|
-
|
617
|
-
|
618
583
|
@validate_call
|
619
584
|
def get_server_time_udf_time_get(
|
620
585
|
self,
|
@@ -622,9 +587,8 @@ class UDFApi:
|
|
622
587
|
None,
|
623
588
|
Annotated[StrictFloat, Field(gt=0)],
|
624
589
|
Tuple[
|
625
|
-
Annotated[StrictFloat, Field(gt=0)],
|
626
|
-
|
627
|
-
]
|
590
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
591
|
+
],
|
628
592
|
] = None,
|
629
593
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
630
594
|
_content_type: Optional[StrictStr] = None,
|
@@ -654,21 +618,20 @@ class UDFApi:
|
|
654
618
|
in the spec for a single request.
|
655
619
|
:type _host_index: int, optional
|
656
620
|
:return: Returns the result object.
|
657
|
-
"""
|
621
|
+
""" # noqa: E501
|
658
622
|
|
659
623
|
_param = self._get_server_time_udf_time_get_serialize(
|
660
624
|
_request_auth=_request_auth,
|
661
625
|
_content_type=_content_type,
|
662
626
|
_headers=_headers,
|
663
|
-
_host_index=_host_index
|
627
|
+
_host_index=_host_index,
|
664
628
|
)
|
665
629
|
|
666
630
|
_response_types_map: Dict[str, Optional[str]] = {
|
667
|
-
|
631
|
+
"200": "object",
|
668
632
|
}
|
669
633
|
response_data = self.api_client.call_api(
|
670
|
-
*_param,
|
671
|
-
_request_timeout=_request_timeout
|
634
|
+
*_param, _request_timeout=_request_timeout
|
672
635
|
)
|
673
636
|
response_data.read()
|
674
637
|
return self.api_client.response_deserialize(
|
@@ -676,7 +639,6 @@ class UDFApi:
|
|
676
639
|
response_types_map=_response_types_map,
|
677
640
|
).data
|
678
641
|
|
679
|
-
|
680
642
|
@validate_call
|
681
643
|
def get_server_time_udf_time_get_with_http_info(
|
682
644
|
self,
|
@@ -684,9 +646,8 @@ class UDFApi:
|
|
684
646
|
None,
|
685
647
|
Annotated[StrictFloat, Field(gt=0)],
|
686
648
|
Tuple[
|
687
|
-
Annotated[StrictFloat, Field(gt=0)],
|
688
|
-
|
689
|
-
]
|
649
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
650
|
+
],
|
690
651
|
] = None,
|
691
652
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
692
653
|
_content_type: Optional[StrictStr] = None,
|
@@ -716,21 +677,20 @@ class UDFApi:
|
|
716
677
|
in the spec for a single request.
|
717
678
|
:type _host_index: int, optional
|
718
679
|
:return: Returns the result object.
|
719
|
-
"""
|
680
|
+
""" # noqa: E501
|
720
681
|
|
721
682
|
_param = self._get_server_time_udf_time_get_serialize(
|
722
683
|
_request_auth=_request_auth,
|
723
684
|
_content_type=_content_type,
|
724
685
|
_headers=_headers,
|
725
|
-
_host_index=_host_index
|
686
|
+
_host_index=_host_index,
|
726
687
|
)
|
727
688
|
|
728
689
|
_response_types_map: Dict[str, Optional[str]] = {
|
729
|
-
|
690
|
+
"200": "object",
|
730
691
|
}
|
731
692
|
response_data = self.api_client.call_api(
|
732
|
-
*_param,
|
733
|
-
_request_timeout=_request_timeout
|
693
|
+
*_param, _request_timeout=_request_timeout
|
734
694
|
)
|
735
695
|
response_data.read()
|
736
696
|
return self.api_client.response_deserialize(
|
@@ -738,7 +698,6 @@ class UDFApi:
|
|
738
698
|
response_types_map=_response_types_map,
|
739
699
|
)
|
740
700
|
|
741
|
-
|
742
701
|
@validate_call
|
743
702
|
def get_server_time_udf_time_get_without_preload_content(
|
744
703
|
self,
|
@@ -746,9 +705,8 @@ class UDFApi:
|
|
746
705
|
None,
|
747
706
|
Annotated[StrictFloat, Field(gt=0)],
|
748
707
|
Tuple[
|
749
|
-
Annotated[StrictFloat, Field(gt=0)],
|
750
|
-
|
751
|
-
]
|
708
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
709
|
+
],
|
752
710
|
] = None,
|
753
711
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
754
712
|
_content_type: Optional[StrictStr] = None,
|
@@ -778,25 +736,23 @@ class UDFApi:
|
|
778
736
|
in the spec for a single request.
|
779
737
|
:type _host_index: int, optional
|
780
738
|
:return: Returns the result object.
|
781
|
-
"""
|
739
|
+
""" # noqa: E501
|
782
740
|
|
783
741
|
_param = self._get_server_time_udf_time_get_serialize(
|
784
742
|
_request_auth=_request_auth,
|
785
743
|
_content_type=_content_type,
|
786
744
|
_headers=_headers,
|
787
|
-
_host_index=_host_index
|
745
|
+
_host_index=_host_index,
|
788
746
|
)
|
789
747
|
|
790
748
|
_response_types_map: Dict[str, Optional[str]] = {
|
791
|
-
|
749
|
+
"200": "object",
|
792
750
|
}
|
793
751
|
response_data = self.api_client.call_api(
|
794
|
-
*_param,
|
795
|
-
_request_timeout=_request_timeout
|
752
|
+
*_param, _request_timeout=_request_timeout
|
796
753
|
)
|
797
754
|
return response_data.response
|
798
755
|
|
799
|
-
|
800
756
|
def _get_server_time_udf_time_get_serialize(
|
801
757
|
self,
|
802
758
|
_request_auth,
|
@@ -807,8 +763,7 @@ class UDFApi:
|
|
807
763
|
|
808
764
|
_host = None
|
809
765
|
|
810
|
-
_collection_formats: Dict[str, str] = {
|
811
|
-
}
|
766
|
+
_collection_formats: Dict[str, str] = {}
|
812
767
|
|
813
768
|
_path_params: Dict[str, str] = {}
|
814
769
|
_query_params: List[Tuple[str, str]] = []
|
@@ -825,23 +780,18 @@ class UDFApi:
|
|
825
780
|
# process the form parameters
|
826
781
|
# process the body parameter
|
827
782
|
|
828
|
-
|
829
783
|
# set the HTTP header `Accept`
|
830
|
-
if
|
831
|
-
_header_params[
|
832
|
-
[
|
833
|
-
'application/json'
|
834
|
-
]
|
784
|
+
if "Accept" not in _header_params:
|
785
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
786
|
+
["application/json"]
|
835
787
|
)
|
836
788
|
|
837
|
-
|
838
789
|
# authentication setting
|
839
|
-
_auth_settings: List[str] = [
|
840
|
-
]
|
790
|
+
_auth_settings: List[str] = []
|
841
791
|
|
842
792
|
return self.api_client.param_serialize(
|
843
|
-
method=
|
844
|
-
resource_path=
|
793
|
+
method="GET",
|
794
|
+
resource_path="/udf/time",
|
845
795
|
path_params=_path_params,
|
846
796
|
query_params=_query_params,
|
847
797
|
header_params=_header_params,
|
@@ -851,12 +801,9 @@ class UDFApi:
|
|
851
801
|
auth_settings=_auth_settings,
|
852
802
|
collection_formats=_collection_formats,
|
853
803
|
_host=_host,
|
854
|
-
_request_auth=_request_auth
|
804
|
+
_request_auth=_request_auth,
|
855
805
|
)
|
856
806
|
|
857
|
-
|
858
|
-
|
859
|
-
|
860
807
|
@validate_call
|
861
808
|
def get_symbol_info_udf_symbol_info_get(
|
862
809
|
self,
|
@@ -865,9 +812,8 @@ class UDFApi:
|
|
865
812
|
None,
|
866
813
|
Annotated[StrictFloat, Field(gt=0)],
|
867
814
|
Tuple[
|
868
|
-
Annotated[StrictFloat, Field(gt=0)],
|
869
|
-
|
870
|
-
]
|
815
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
816
|
+
],
|
871
817
|
] = None,
|
872
818
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
873
819
|
_content_type: Optional[StrictStr] = None,
|
@@ -900,23 +846,22 @@ class UDFApi:
|
|
900
846
|
in the spec for a single request.
|
901
847
|
:type _host_index: int, optional
|
902
848
|
:return: Returns the result object.
|
903
|
-
"""
|
849
|
+
""" # noqa: E501
|
904
850
|
|
905
851
|
_param = self._get_symbol_info_udf_symbol_info_get_serialize(
|
906
852
|
group=group,
|
907
853
|
_request_auth=_request_auth,
|
908
854
|
_content_type=_content_type,
|
909
855
|
_headers=_headers,
|
910
|
-
_host_index=_host_index
|
856
|
+
_host_index=_host_index,
|
911
857
|
)
|
912
858
|
|
913
859
|
_response_types_map: Dict[str, Optional[str]] = {
|
914
|
-
|
915
|
-
|
860
|
+
"200": "SymbolGroupResponse",
|
861
|
+
"422": "HTTPValidationError",
|
916
862
|
}
|
917
863
|
response_data = self.api_client.call_api(
|
918
|
-
*_param,
|
919
|
-
_request_timeout=_request_timeout
|
864
|
+
*_param, _request_timeout=_request_timeout
|
920
865
|
)
|
921
866
|
response_data.read()
|
922
867
|
return self.api_client.response_deserialize(
|
@@ -924,7 +869,6 @@ class UDFApi:
|
|
924
869
|
response_types_map=_response_types_map,
|
925
870
|
).data
|
926
871
|
|
927
|
-
|
928
872
|
@validate_call
|
929
873
|
def get_symbol_info_udf_symbol_info_get_with_http_info(
|
930
874
|
self,
|
@@ -933,9 +877,8 @@ class UDFApi:
|
|
933
877
|
None,
|
934
878
|
Annotated[StrictFloat, Field(gt=0)],
|
935
879
|
Tuple[
|
936
|
-
Annotated[StrictFloat, Field(gt=0)],
|
937
|
-
|
938
|
-
]
|
880
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
881
|
+
],
|
939
882
|
] = None,
|
940
883
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
941
884
|
_content_type: Optional[StrictStr] = None,
|
@@ -968,23 +911,22 @@ class UDFApi:
|
|
968
911
|
in the spec for a single request.
|
969
912
|
:type _host_index: int, optional
|
970
913
|
:return: Returns the result object.
|
971
|
-
"""
|
914
|
+
""" # noqa: E501
|
972
915
|
|
973
916
|
_param = self._get_symbol_info_udf_symbol_info_get_serialize(
|
974
917
|
group=group,
|
975
918
|
_request_auth=_request_auth,
|
976
919
|
_content_type=_content_type,
|
977
920
|
_headers=_headers,
|
978
|
-
_host_index=_host_index
|
921
|
+
_host_index=_host_index,
|
979
922
|
)
|
980
923
|
|
981
924
|
_response_types_map: Dict[str, Optional[str]] = {
|
982
|
-
|
983
|
-
|
925
|
+
"200": "SymbolGroupResponse",
|
926
|
+
"422": "HTTPValidationError",
|
984
927
|
}
|
985
928
|
response_data = self.api_client.call_api(
|
986
|
-
*_param,
|
987
|
-
_request_timeout=_request_timeout
|
929
|
+
*_param, _request_timeout=_request_timeout
|
988
930
|
)
|
989
931
|
response_data.read()
|
990
932
|
return self.api_client.response_deserialize(
|
@@ -992,7 +934,6 @@ class UDFApi:
|
|
992
934
|
response_types_map=_response_types_map,
|
993
935
|
)
|
994
936
|
|
995
|
-
|
996
937
|
@validate_call
|
997
938
|
def get_symbol_info_udf_symbol_info_get_without_preload_content(
|
998
939
|
self,
|
@@ -1001,9 +942,8 @@ class UDFApi:
|
|
1001
942
|
None,
|
1002
943
|
Annotated[StrictFloat, Field(gt=0)],
|
1003
944
|
Tuple[
|
1004
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1005
|
-
|
1006
|
-
]
|
945
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
946
|
+
],
|
1007
947
|
] = None,
|
1008
948
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1009
949
|
_content_type: Optional[StrictStr] = None,
|
@@ -1036,27 +976,25 @@ class UDFApi:
|
|
1036
976
|
in the spec for a single request.
|
1037
977
|
:type _host_index: int, optional
|
1038
978
|
:return: Returns the result object.
|
1039
|
-
"""
|
979
|
+
""" # noqa: E501
|
1040
980
|
|
1041
981
|
_param = self._get_symbol_info_udf_symbol_info_get_serialize(
|
1042
982
|
group=group,
|
1043
983
|
_request_auth=_request_auth,
|
1044
984
|
_content_type=_content_type,
|
1045
985
|
_headers=_headers,
|
1046
|
-
_host_index=_host_index
|
986
|
+
_host_index=_host_index,
|
1047
987
|
)
|
1048
988
|
|
1049
989
|
_response_types_map: Dict[str, Optional[str]] = {
|
1050
|
-
|
1051
|
-
|
990
|
+
"200": "SymbolGroupResponse",
|
991
|
+
"422": "HTTPValidationError",
|
1052
992
|
}
|
1053
993
|
response_data = self.api_client.call_api(
|
1054
|
-
*_param,
|
1055
|
-
_request_timeout=_request_timeout
|
994
|
+
*_param, _request_timeout=_request_timeout
|
1056
995
|
)
|
1057
996
|
return response_data.response
|
1058
997
|
|
1059
|
-
|
1060
998
|
def _get_symbol_info_udf_symbol_info_get_serialize(
|
1061
999
|
self,
|
1062
1000
|
group,
|
@@ -1068,8 +1006,7 @@ class UDFApi:
|
|
1068
1006
|
|
1069
1007
|
_host = None
|
1070
1008
|
|
1071
|
-
_collection_formats: Dict[str, str] = {
|
1072
|
-
}
|
1009
|
+
_collection_formats: Dict[str, str] = {}
|
1073
1010
|
|
1074
1011
|
_path_params: Dict[str, str] = {}
|
1075
1012
|
_query_params: List[Tuple[str, str]] = []
|
@@ -1083,30 +1020,25 @@ class UDFApi:
|
|
1083
1020
|
# process the path parameters
|
1084
1021
|
# process the query parameters
|
1085
1022
|
if group is not None:
|
1086
|
-
|
1087
|
-
_query_params.append((
|
1088
|
-
|
1023
|
+
|
1024
|
+
_query_params.append(("group", group))
|
1025
|
+
|
1089
1026
|
# process the header parameters
|
1090
1027
|
# process the form parameters
|
1091
1028
|
# process the body parameter
|
1092
1029
|
|
1093
|
-
|
1094
1030
|
# set the HTTP header `Accept`
|
1095
|
-
if
|
1096
|
-
_header_params[
|
1097
|
-
[
|
1098
|
-
'application/json'
|
1099
|
-
]
|
1031
|
+
if "Accept" not in _header_params:
|
1032
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
1033
|
+
["application/json"]
|
1100
1034
|
)
|
1101
1035
|
|
1102
|
-
|
1103
1036
|
# authentication setting
|
1104
|
-
_auth_settings: List[str] = [
|
1105
|
-
]
|
1037
|
+
_auth_settings: List[str] = []
|
1106
1038
|
|
1107
1039
|
return self.api_client.param_serialize(
|
1108
|
-
method=
|
1109
|
-
resource_path=
|
1040
|
+
method="GET",
|
1041
|
+
resource_path="/udf/symbol_info",
|
1110
1042
|
path_params=_path_params,
|
1111
1043
|
query_params=_query_params,
|
1112
1044
|
header_params=_header_params,
|
@@ -1116,12 +1048,9 @@ class UDFApi:
|
|
1116
1048
|
auth_settings=_auth_settings,
|
1117
1049
|
collection_formats=_collection_formats,
|
1118
1050
|
_host=_host,
|
1119
|
-
_request_auth=_request_auth
|
1051
|
+
_request_auth=_request_auth,
|
1120
1052
|
)
|
1121
1053
|
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
1054
|
@validate_call
|
1126
1055
|
def get_symbol_udf_symbols_get(
|
1127
1056
|
self,
|
@@ -1130,9 +1059,8 @@ class UDFApi:
|
|
1130
1059
|
None,
|
1131
1060
|
Annotated[StrictFloat, Field(gt=0)],
|
1132
1061
|
Tuple[
|
1133
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1134
|
-
|
1135
|
-
]
|
1062
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1063
|
+
],
|
1136
1064
|
] = None,
|
1137
1065
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1138
1066
|
_content_type: Optional[StrictStr] = None,
|
@@ -1164,23 +1092,22 @@ class UDFApi:
|
|
1164
1092
|
in the spec for a single request.
|
1165
1093
|
:type _host_index: int, optional
|
1166
1094
|
:return: Returns the result object.
|
1167
|
-
"""
|
1095
|
+
""" # noqa: E501
|
1168
1096
|
|
1169
1097
|
_param = self._get_symbol_udf_symbols_get_serialize(
|
1170
1098
|
symbol=symbol,
|
1171
1099
|
_request_auth=_request_auth,
|
1172
1100
|
_content_type=_content_type,
|
1173
1101
|
_headers=_headers,
|
1174
|
-
_host_index=_host_index
|
1102
|
+
_host_index=_host_index,
|
1175
1103
|
)
|
1176
1104
|
|
1177
1105
|
_response_types_map: Dict[str, Optional[str]] = {
|
1178
|
-
|
1179
|
-
|
1106
|
+
"200": "SymbolInfoResponse",
|
1107
|
+
"422": "HTTPValidationError",
|
1180
1108
|
}
|
1181
1109
|
response_data = self.api_client.call_api(
|
1182
|
-
*_param,
|
1183
|
-
_request_timeout=_request_timeout
|
1110
|
+
*_param, _request_timeout=_request_timeout
|
1184
1111
|
)
|
1185
1112
|
response_data.read()
|
1186
1113
|
return self.api_client.response_deserialize(
|
@@ -1188,7 +1115,6 @@ class UDFApi:
|
|
1188
1115
|
response_types_map=_response_types_map,
|
1189
1116
|
).data
|
1190
1117
|
|
1191
|
-
|
1192
1118
|
@validate_call
|
1193
1119
|
def get_symbol_udf_symbols_get_with_http_info(
|
1194
1120
|
self,
|
@@ -1197,9 +1123,8 @@ class UDFApi:
|
|
1197
1123
|
None,
|
1198
1124
|
Annotated[StrictFloat, Field(gt=0)],
|
1199
1125
|
Tuple[
|
1200
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1201
|
-
|
1202
|
-
]
|
1126
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1127
|
+
],
|
1203
1128
|
] = None,
|
1204
1129
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1205
1130
|
_content_type: Optional[StrictStr] = None,
|
@@ -1231,23 +1156,22 @@ class UDFApi:
|
|
1231
1156
|
in the spec for a single request.
|
1232
1157
|
:type _host_index: int, optional
|
1233
1158
|
:return: Returns the result object.
|
1234
|
-
"""
|
1159
|
+
""" # noqa: E501
|
1235
1160
|
|
1236
1161
|
_param = self._get_symbol_udf_symbols_get_serialize(
|
1237
1162
|
symbol=symbol,
|
1238
1163
|
_request_auth=_request_auth,
|
1239
1164
|
_content_type=_content_type,
|
1240
1165
|
_headers=_headers,
|
1241
|
-
_host_index=_host_index
|
1166
|
+
_host_index=_host_index,
|
1242
1167
|
)
|
1243
1168
|
|
1244
1169
|
_response_types_map: Dict[str, Optional[str]] = {
|
1245
|
-
|
1246
|
-
|
1170
|
+
"200": "SymbolInfoResponse",
|
1171
|
+
"422": "HTTPValidationError",
|
1247
1172
|
}
|
1248
1173
|
response_data = self.api_client.call_api(
|
1249
|
-
*_param,
|
1250
|
-
_request_timeout=_request_timeout
|
1174
|
+
*_param, _request_timeout=_request_timeout
|
1251
1175
|
)
|
1252
1176
|
response_data.read()
|
1253
1177
|
return self.api_client.response_deserialize(
|
@@ -1255,7 +1179,6 @@ class UDFApi:
|
|
1255
1179
|
response_types_map=_response_types_map,
|
1256
1180
|
)
|
1257
1181
|
|
1258
|
-
|
1259
1182
|
@validate_call
|
1260
1183
|
def get_symbol_udf_symbols_get_without_preload_content(
|
1261
1184
|
self,
|
@@ -1264,9 +1187,8 @@ class UDFApi:
|
|
1264
1187
|
None,
|
1265
1188
|
Annotated[StrictFloat, Field(gt=0)],
|
1266
1189
|
Tuple[
|
1267
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1268
|
-
|
1269
|
-
]
|
1190
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1191
|
+
],
|
1270
1192
|
] = None,
|
1271
1193
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1272
1194
|
_content_type: Optional[StrictStr] = None,
|
@@ -1298,27 +1220,25 @@ class UDFApi:
|
|
1298
1220
|
in the spec for a single request.
|
1299
1221
|
:type _host_index: int, optional
|
1300
1222
|
:return: Returns the result object.
|
1301
|
-
"""
|
1223
|
+
""" # noqa: E501
|
1302
1224
|
|
1303
1225
|
_param = self._get_symbol_udf_symbols_get_serialize(
|
1304
1226
|
symbol=symbol,
|
1305
1227
|
_request_auth=_request_auth,
|
1306
1228
|
_content_type=_content_type,
|
1307
1229
|
_headers=_headers,
|
1308
|
-
_host_index=_host_index
|
1230
|
+
_host_index=_host_index,
|
1309
1231
|
)
|
1310
1232
|
|
1311
1233
|
_response_types_map: Dict[str, Optional[str]] = {
|
1312
|
-
|
1313
|
-
|
1234
|
+
"200": "SymbolInfoResponse",
|
1235
|
+
"422": "HTTPValidationError",
|
1314
1236
|
}
|
1315
1237
|
response_data = self.api_client.call_api(
|
1316
|
-
*_param,
|
1317
|
-
_request_timeout=_request_timeout
|
1238
|
+
*_param, _request_timeout=_request_timeout
|
1318
1239
|
)
|
1319
1240
|
return response_data.response
|
1320
1241
|
|
1321
|
-
|
1322
1242
|
def _get_symbol_udf_symbols_get_serialize(
|
1323
1243
|
self,
|
1324
1244
|
symbol,
|
@@ -1330,8 +1250,7 @@ class UDFApi:
|
|
1330
1250
|
|
1331
1251
|
_host = None
|
1332
1252
|
|
1333
|
-
_collection_formats: Dict[str, str] = {
|
1334
|
-
}
|
1253
|
+
_collection_formats: Dict[str, str] = {}
|
1335
1254
|
|
1336
1255
|
_path_params: Dict[str, str] = {}
|
1337
1256
|
_query_params: List[Tuple[str, str]] = []
|
@@ -1345,30 +1264,25 @@ class UDFApi:
|
|
1345
1264
|
# process the path parameters
|
1346
1265
|
# process the query parameters
|
1347
1266
|
if symbol is not None:
|
1348
|
-
|
1349
|
-
_query_params.append((
|
1350
|
-
|
1267
|
+
|
1268
|
+
_query_params.append(("symbol", symbol))
|
1269
|
+
|
1351
1270
|
# process the header parameters
|
1352
1271
|
# process the form parameters
|
1353
1272
|
# process the body parameter
|
1354
1273
|
|
1355
|
-
|
1356
1274
|
# set the HTTP header `Accept`
|
1357
|
-
if
|
1358
|
-
_header_params[
|
1359
|
-
[
|
1360
|
-
'application/json'
|
1361
|
-
]
|
1275
|
+
if "Accept" not in _header_params:
|
1276
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
1277
|
+
["application/json"]
|
1362
1278
|
)
|
1363
1279
|
|
1364
|
-
|
1365
1280
|
# authentication setting
|
1366
|
-
_auth_settings: List[str] = [
|
1367
|
-
]
|
1281
|
+
_auth_settings: List[str] = []
|
1368
1282
|
|
1369
1283
|
return self.api_client.param_serialize(
|
1370
|
-
method=
|
1371
|
-
resource_path=
|
1284
|
+
method="GET",
|
1285
|
+
resource_path="/udf/symbols",
|
1372
1286
|
path_params=_path_params,
|
1373
1287
|
query_params=_query_params,
|
1374
1288
|
header_params=_header_params,
|
@@ -1378,12 +1292,9 @@ class UDFApi:
|
|
1378
1292
|
auth_settings=_auth_settings,
|
1379
1293
|
collection_formats=_collection_formats,
|
1380
1294
|
_host=_host,
|
1381
|
-
_request_auth=_request_auth
|
1295
|
+
_request_auth=_request_auth,
|
1382
1296
|
)
|
1383
1297
|
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
1298
|
@validate_call
|
1388
1299
|
def options_handler_udf_path_options(
|
1389
1300
|
self,
|
@@ -1392,9 +1303,8 @@ class UDFApi:
|
|
1392
1303
|
None,
|
1393
1304
|
Annotated[StrictFloat, Field(gt=0)],
|
1394
1305
|
Tuple[
|
1395
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1396
|
-
|
1397
|
-
]
|
1306
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1307
|
+
],
|
1398
1308
|
] = None,
|
1399
1309
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1400
1310
|
_content_type: Optional[StrictStr] = None,
|
@@ -1427,23 +1337,22 @@ class UDFApi:
|
|
1427
1337
|
in the spec for a single request.
|
1428
1338
|
:type _host_index: int, optional
|
1429
1339
|
:return: Returns the result object.
|
1430
|
-
"""
|
1340
|
+
""" # noqa: E501
|
1431
1341
|
|
1432
1342
|
_param = self._options_handler_udf_path_options_serialize(
|
1433
1343
|
path=path,
|
1434
1344
|
_request_auth=_request_auth,
|
1435
1345
|
_content_type=_content_type,
|
1436
1346
|
_headers=_headers,
|
1437
|
-
_host_index=_host_index
|
1347
|
+
_host_index=_host_index,
|
1438
1348
|
)
|
1439
1349
|
|
1440
1350
|
_response_types_map: Dict[str, Optional[str]] = {
|
1441
|
-
|
1442
|
-
|
1351
|
+
"200": "object",
|
1352
|
+
"422": "HTTPValidationError",
|
1443
1353
|
}
|
1444
1354
|
response_data = self.api_client.call_api(
|
1445
|
-
*_param,
|
1446
|
-
_request_timeout=_request_timeout
|
1355
|
+
*_param, _request_timeout=_request_timeout
|
1447
1356
|
)
|
1448
1357
|
response_data.read()
|
1449
1358
|
return self.api_client.response_deserialize(
|
@@ -1451,7 +1360,6 @@ class UDFApi:
|
|
1451
1360
|
response_types_map=_response_types_map,
|
1452
1361
|
).data
|
1453
1362
|
|
1454
|
-
|
1455
1363
|
@validate_call
|
1456
1364
|
def options_handler_udf_path_options_with_http_info(
|
1457
1365
|
self,
|
@@ -1460,9 +1368,8 @@ class UDFApi:
|
|
1460
1368
|
None,
|
1461
1369
|
Annotated[StrictFloat, Field(gt=0)],
|
1462
1370
|
Tuple[
|
1463
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1464
|
-
|
1465
|
-
]
|
1371
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1372
|
+
],
|
1466
1373
|
] = None,
|
1467
1374
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1468
1375
|
_content_type: Optional[StrictStr] = None,
|
@@ -1495,23 +1402,22 @@ class UDFApi:
|
|
1495
1402
|
in the spec for a single request.
|
1496
1403
|
:type _host_index: int, optional
|
1497
1404
|
:return: Returns the result object.
|
1498
|
-
"""
|
1405
|
+
""" # noqa: E501
|
1499
1406
|
|
1500
1407
|
_param = self._options_handler_udf_path_options_serialize(
|
1501
1408
|
path=path,
|
1502
1409
|
_request_auth=_request_auth,
|
1503
1410
|
_content_type=_content_type,
|
1504
1411
|
_headers=_headers,
|
1505
|
-
_host_index=_host_index
|
1412
|
+
_host_index=_host_index,
|
1506
1413
|
)
|
1507
1414
|
|
1508
1415
|
_response_types_map: Dict[str, Optional[str]] = {
|
1509
|
-
|
1510
|
-
|
1416
|
+
"200": "object",
|
1417
|
+
"422": "HTTPValidationError",
|
1511
1418
|
}
|
1512
1419
|
response_data = self.api_client.call_api(
|
1513
|
-
*_param,
|
1514
|
-
_request_timeout=_request_timeout
|
1420
|
+
*_param, _request_timeout=_request_timeout
|
1515
1421
|
)
|
1516
1422
|
response_data.read()
|
1517
1423
|
return self.api_client.response_deserialize(
|
@@ -1519,7 +1425,6 @@ class UDFApi:
|
|
1519
1425
|
response_types_map=_response_types_map,
|
1520
1426
|
)
|
1521
1427
|
|
1522
|
-
|
1523
1428
|
@validate_call
|
1524
1429
|
def options_handler_udf_path_options_without_preload_content(
|
1525
1430
|
self,
|
@@ -1528,9 +1433,8 @@ class UDFApi:
|
|
1528
1433
|
None,
|
1529
1434
|
Annotated[StrictFloat, Field(gt=0)],
|
1530
1435
|
Tuple[
|
1531
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1532
|
-
|
1533
|
-
]
|
1436
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1437
|
+
],
|
1534
1438
|
] = None,
|
1535
1439
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1536
1440
|
_content_type: Optional[StrictStr] = None,
|
@@ -1563,27 +1467,25 @@ class UDFApi:
|
|
1563
1467
|
in the spec for a single request.
|
1564
1468
|
:type _host_index: int, optional
|
1565
1469
|
:return: Returns the result object.
|
1566
|
-
"""
|
1470
|
+
""" # noqa: E501
|
1567
1471
|
|
1568
1472
|
_param = self._options_handler_udf_path_options_serialize(
|
1569
1473
|
path=path,
|
1570
1474
|
_request_auth=_request_auth,
|
1571
1475
|
_content_type=_content_type,
|
1572
1476
|
_headers=_headers,
|
1573
|
-
_host_index=_host_index
|
1477
|
+
_host_index=_host_index,
|
1574
1478
|
)
|
1575
1479
|
|
1576
1480
|
_response_types_map: Dict[str, Optional[str]] = {
|
1577
|
-
|
1578
|
-
|
1481
|
+
"200": "object",
|
1482
|
+
"422": "HTTPValidationError",
|
1579
1483
|
}
|
1580
1484
|
response_data = self.api_client.call_api(
|
1581
|
-
*_param,
|
1582
|
-
_request_timeout=_request_timeout
|
1485
|
+
*_param, _request_timeout=_request_timeout
|
1583
1486
|
)
|
1584
1487
|
return response_data.response
|
1585
1488
|
|
1586
|
-
|
1587
1489
|
def _options_handler_udf_path_options_serialize(
|
1588
1490
|
self,
|
1589
1491
|
path,
|
@@ -1595,8 +1497,7 @@ class UDFApi:
|
|
1595
1497
|
|
1596
1498
|
_host = None
|
1597
1499
|
|
1598
|
-
_collection_formats: Dict[str, str] = {
|
1599
|
-
}
|
1500
|
+
_collection_formats: Dict[str, str] = {}
|
1600
1501
|
|
1601
1502
|
_path_params: Dict[str, str] = {}
|
1602
1503
|
_query_params: List[Tuple[str, str]] = []
|
@@ -1609,29 +1510,24 @@ class UDFApi:
|
|
1609
1510
|
|
1610
1511
|
# process the path parameters
|
1611
1512
|
if path is not None:
|
1612
|
-
_path_params[
|
1513
|
+
_path_params["path"] = path
|
1613
1514
|
# process the query parameters
|
1614
1515
|
# process the header parameters
|
1615
1516
|
# process the form parameters
|
1616
1517
|
# process the body parameter
|
1617
1518
|
|
1618
|
-
|
1619
1519
|
# set the HTTP header `Accept`
|
1620
|
-
if
|
1621
|
-
_header_params[
|
1622
|
-
[
|
1623
|
-
'application/json'
|
1624
|
-
]
|
1520
|
+
if "Accept" not in _header_params:
|
1521
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
1522
|
+
["application/json"]
|
1625
1523
|
)
|
1626
1524
|
|
1627
|
-
|
1628
1525
|
# authentication setting
|
1629
|
-
_auth_settings: List[str] = [
|
1630
|
-
]
|
1526
|
+
_auth_settings: List[str] = []
|
1631
1527
|
|
1632
1528
|
return self.api_client.param_serialize(
|
1633
|
-
method=
|
1634
|
-
resource_path=
|
1529
|
+
method="OPTIONS",
|
1530
|
+
resource_path="/udf/{path}",
|
1635
1531
|
path_params=_path_params,
|
1636
1532
|
query_params=_query_params,
|
1637
1533
|
header_params=_header_params,
|
@@ -1641,12 +1537,9 @@ class UDFApi:
|
|
1641
1537
|
auth_settings=_auth_settings,
|
1642
1538
|
collection_formats=_collection_formats,
|
1643
1539
|
_host=_host,
|
1644
|
-
_request_auth=_request_auth
|
1540
|
+
_request_auth=_request_auth,
|
1645
1541
|
)
|
1646
1542
|
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
1543
|
@validate_call
|
1651
1544
|
def search_symbols_udf_search_get(
|
1652
1545
|
self,
|
@@ -1656,9 +1549,8 @@ class UDFApi:
|
|
1656
1549
|
None,
|
1657
1550
|
Annotated[StrictFloat, Field(gt=0)],
|
1658
1551
|
Tuple[
|
1659
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1660
|
-
|
1661
|
-
]
|
1552
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1553
|
+
],
|
1662
1554
|
] = None,
|
1663
1555
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1664
1556
|
_content_type: Optional[StrictStr] = None,
|
@@ -1693,7 +1585,7 @@ class UDFApi:
|
|
1693
1585
|
in the spec for a single request.
|
1694
1586
|
:type _host_index: int, optional
|
1695
1587
|
:return: Returns the result object.
|
1696
|
-
"""
|
1588
|
+
""" # noqa: E501
|
1697
1589
|
|
1698
1590
|
_param = self._search_symbols_udf_search_get_serialize(
|
1699
1591
|
query=query,
|
@@ -1701,16 +1593,15 @@ class UDFApi:
|
|
1701
1593
|
_request_auth=_request_auth,
|
1702
1594
|
_content_type=_content_type,
|
1703
1595
|
_headers=_headers,
|
1704
|
-
_host_index=_host_index
|
1596
|
+
_host_index=_host_index,
|
1705
1597
|
)
|
1706
1598
|
|
1707
1599
|
_response_types_map: Dict[str, Optional[str]] = {
|
1708
|
-
|
1709
|
-
|
1600
|
+
"200": "List[SearchSymbolResponse]",
|
1601
|
+
"422": "HTTPValidationError",
|
1710
1602
|
}
|
1711
1603
|
response_data = self.api_client.call_api(
|
1712
|
-
*_param,
|
1713
|
-
_request_timeout=_request_timeout
|
1604
|
+
*_param, _request_timeout=_request_timeout
|
1714
1605
|
)
|
1715
1606
|
response_data.read()
|
1716
1607
|
return self.api_client.response_deserialize(
|
@@ -1718,7 +1609,6 @@ class UDFApi:
|
|
1718
1609
|
response_types_map=_response_types_map,
|
1719
1610
|
).data
|
1720
1611
|
|
1721
|
-
|
1722
1612
|
@validate_call
|
1723
1613
|
def search_symbols_udf_search_get_with_http_info(
|
1724
1614
|
self,
|
@@ -1728,9 +1618,8 @@ class UDFApi:
|
|
1728
1618
|
None,
|
1729
1619
|
Annotated[StrictFloat, Field(gt=0)],
|
1730
1620
|
Tuple[
|
1731
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1732
|
-
|
1733
|
-
]
|
1621
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1622
|
+
],
|
1734
1623
|
] = None,
|
1735
1624
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1736
1625
|
_content_type: Optional[StrictStr] = None,
|
@@ -1765,7 +1654,7 @@ class UDFApi:
|
|
1765
1654
|
in the spec for a single request.
|
1766
1655
|
:type _host_index: int, optional
|
1767
1656
|
:return: Returns the result object.
|
1768
|
-
"""
|
1657
|
+
""" # noqa: E501
|
1769
1658
|
|
1770
1659
|
_param = self._search_symbols_udf_search_get_serialize(
|
1771
1660
|
query=query,
|
@@ -1773,16 +1662,15 @@ class UDFApi:
|
|
1773
1662
|
_request_auth=_request_auth,
|
1774
1663
|
_content_type=_content_type,
|
1775
1664
|
_headers=_headers,
|
1776
|
-
_host_index=_host_index
|
1665
|
+
_host_index=_host_index,
|
1777
1666
|
)
|
1778
1667
|
|
1779
1668
|
_response_types_map: Dict[str, Optional[str]] = {
|
1780
|
-
|
1781
|
-
|
1669
|
+
"200": "List[SearchSymbolResponse]",
|
1670
|
+
"422": "HTTPValidationError",
|
1782
1671
|
}
|
1783
1672
|
response_data = self.api_client.call_api(
|
1784
|
-
*_param,
|
1785
|
-
_request_timeout=_request_timeout
|
1673
|
+
*_param, _request_timeout=_request_timeout
|
1786
1674
|
)
|
1787
1675
|
response_data.read()
|
1788
1676
|
return self.api_client.response_deserialize(
|
@@ -1790,7 +1678,6 @@ class UDFApi:
|
|
1790
1678
|
response_types_map=_response_types_map,
|
1791
1679
|
)
|
1792
1680
|
|
1793
|
-
|
1794
1681
|
@validate_call
|
1795
1682
|
def search_symbols_udf_search_get_without_preload_content(
|
1796
1683
|
self,
|
@@ -1800,9 +1687,8 @@ class UDFApi:
|
|
1800
1687
|
None,
|
1801
1688
|
Annotated[StrictFloat, Field(gt=0)],
|
1802
1689
|
Tuple[
|
1803
|
-
Annotated[StrictFloat, Field(gt=0)],
|
1804
|
-
|
1805
|
-
]
|
1690
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1691
|
+
],
|
1806
1692
|
] = None,
|
1807
1693
|
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1808
1694
|
_content_type: Optional[StrictStr] = None,
|
@@ -1837,7 +1723,7 @@ class UDFApi:
|
|
1837
1723
|
in the spec for a single request.
|
1838
1724
|
:type _host_index: int, optional
|
1839
1725
|
:return: Returns the result object.
|
1840
|
-
"""
|
1726
|
+
""" # noqa: E501
|
1841
1727
|
|
1842
1728
|
_param = self._search_symbols_udf_search_get_serialize(
|
1843
1729
|
query=query,
|
@@ -1845,20 +1731,18 @@ class UDFApi:
|
|
1845
1731
|
_request_auth=_request_auth,
|
1846
1732
|
_content_type=_content_type,
|
1847
1733
|
_headers=_headers,
|
1848
|
-
_host_index=_host_index
|
1734
|
+
_host_index=_host_index,
|
1849
1735
|
)
|
1850
1736
|
|
1851
1737
|
_response_types_map: Dict[str, Optional[str]] = {
|
1852
|
-
|
1853
|
-
|
1738
|
+
"200": "List[SearchSymbolResponse]",
|
1739
|
+
"422": "HTTPValidationError",
|
1854
1740
|
}
|
1855
1741
|
response_data = self.api_client.call_api(
|
1856
|
-
*_param,
|
1857
|
-
_request_timeout=_request_timeout
|
1742
|
+
*_param, _request_timeout=_request_timeout
|
1858
1743
|
)
|
1859
1744
|
return response_data.response
|
1860
1745
|
|
1861
|
-
|
1862
1746
|
def _search_symbols_udf_search_get_serialize(
|
1863
1747
|
self,
|
1864
1748
|
query,
|
@@ -1871,8 +1755,7 @@ class UDFApi:
|
|
1871
1755
|
|
1872
1756
|
_host = None
|
1873
1757
|
|
1874
|
-
_collection_formats: Dict[str, str] = {
|
1875
|
-
}
|
1758
|
+
_collection_formats: Dict[str, str] = {}
|
1876
1759
|
|
1877
1760
|
_path_params: Dict[str, str] = {}
|
1878
1761
|
_query_params: List[Tuple[str, str]] = []
|
@@ -1886,34 +1769,29 @@ class UDFApi:
|
|
1886
1769
|
# process the path parameters
|
1887
1770
|
# process the query parameters
|
1888
1771
|
if query is not None:
|
1889
|
-
|
1890
|
-
_query_params.append((
|
1891
|
-
|
1772
|
+
|
1773
|
+
_query_params.append(("query", query))
|
1774
|
+
|
1892
1775
|
if limit is not None:
|
1893
|
-
|
1894
|
-
_query_params.append((
|
1895
|
-
|
1776
|
+
|
1777
|
+
_query_params.append(("limit", limit))
|
1778
|
+
|
1896
1779
|
# process the header parameters
|
1897
1780
|
# process the form parameters
|
1898
1781
|
# process the body parameter
|
1899
1782
|
|
1900
|
-
|
1901
1783
|
# set the HTTP header `Accept`
|
1902
|
-
if
|
1903
|
-
_header_params[
|
1904
|
-
[
|
1905
|
-
'application/json'
|
1906
|
-
]
|
1784
|
+
if "Accept" not in _header_params:
|
1785
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
1786
|
+
["application/json"]
|
1907
1787
|
)
|
1908
1788
|
|
1909
|
-
|
1910
1789
|
# authentication setting
|
1911
|
-
_auth_settings: List[str] = [
|
1912
|
-
]
|
1790
|
+
_auth_settings: List[str] = []
|
1913
1791
|
|
1914
1792
|
return self.api_client.param_serialize(
|
1915
|
-
method=
|
1916
|
-
resource_path=
|
1793
|
+
method="GET",
|
1794
|
+
resource_path="/udf/search",
|
1917
1795
|
path_params=_path_params,
|
1918
1796
|
query_params=_query_params,
|
1919
1797
|
header_params=_header_params,
|
@@ -1923,7 +1801,5 @@ class UDFApi:
|
|
1923
1801
|
auth_settings=_auth_settings,
|
1924
1802
|
collection_formats=_collection_formats,
|
1925
1803
|
_host=_host,
|
1926
|
-
_request_auth=_request_auth
|
1804
|
+
_request_auth=_request_auth,
|
1927
1805
|
)
|
1928
|
-
|
1929
|
-
|