crypticorn 2.17.0rc5__py3-none-any.whl → 2.17.0rc7__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/auth/client/api/admin_api.py +6 -24
- crypticorn/auth/client/api/auth_api.py +36 -144
- crypticorn/auth/client/api/service_api.py +3 -12
- crypticorn/auth/client/api/user_api.py +33 -132
- crypticorn/auth/client/api/wallet_api.py +18 -72
- crypticorn/cli/templates/Dockerfile +5 -2
- crypticorn/common/auth.py +30 -0
- crypticorn/common/errors.py +10 -0
- crypticorn/common/pagination.py +1 -1
- crypticorn/common/router/admin_router.py +1 -11
- crypticorn/common/router/status_router.py +30 -2
- crypticorn/common/scopes.py +2 -2
- crypticorn/dex/client/api/admin_api.py +21 -84
- crypticorn/dex/client/api/signals_api.py +9 -36
- crypticorn/dex/client/api/status_api.py +6 -24
- crypticorn/hive/client/api/admin_api.py +18 -72
- crypticorn/hive/client/api/data_api.py +6 -24
- crypticorn/hive/client/api/models_api.py +21 -84
- crypticorn/hive/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/admin_api.py +18 -72
- crypticorn/klines/client/api/change_in_timeframe_api.py +3 -12
- crypticorn/klines/client/api/funding_rates_api.py +3 -12
- crypticorn/klines/client/api/ohlcv_data_api.py +3 -12
- crypticorn/klines/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/symbols_api.py +3 -12
- crypticorn/klines/client/api/udf_api.py +18 -72
- crypticorn/metrics/client/api/admin_api.py +18 -72
- crypticorn/metrics/client/api/exchanges_api.py +12 -48
- crypticorn/metrics/client/api/indicators_api.py +6 -24
- crypticorn/metrics/client/api/logs_api.py +3 -12
- crypticorn/metrics/client/api/marketcap_api.py +12 -48
- crypticorn/metrics/client/api/markets_api.py +3 -12
- crypticorn/metrics/client/api/quote_currencies_api.py +3 -12
- crypticorn/metrics/client/api/status_api.py +6 -24
- crypticorn/metrics/client/api/tokens_api.py +6 -24
- crypticorn/pay/client/api/admin_api.py +21 -84
- crypticorn/pay/client/api/now_payments_api.py +15 -60
- crypticorn/pay/client/api/payments_api.py +6 -24
- crypticorn/pay/client/api/products_api.py +12 -48
- crypticorn/pay/client/api/status_api.py +6 -24
- crypticorn/trade/client/__init__.py +10 -0
- crypticorn/trade/client/api/admin_api.py +21 -84
- crypticorn/trade/client/api/api_keys_api.py +207 -184
- crypticorn/trade/client/api/bots_api.py +2435 -662
- crypticorn/trade/client/api/exchanges_api.py +9 -36
- crypticorn/trade/client/api/notifications_api.py +18 -72
- crypticorn/trade/client/api/orders_api.py +3 -12
- crypticorn/trade/client/api/status_api.py +6 -24
- crypticorn/trade/client/api/strategies_api.py +15 -60
- crypticorn/trade/client/api/trading_actions_api.py +431 -112
- crypticorn/trade/client/configuration.py +2 -2
- crypticorn/trade/client/models/__init__.py +10 -0
- crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
- crypticorn/trade/client/models/spot_trading_action.py +207 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/RECORD +62 -58
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/top_level.txt +0 -0
@@ -71,10 +71,7 @@ class ProductsApi:
|
|
71
71
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
72
72
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
73
73
|
) -> Product:
|
74
|
-
"""Create Product
|
75
|
-
|
76
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
77
|
-
"""
|
74
|
+
"""Create Product"""
|
78
75
|
if self.is_sync:
|
79
76
|
return self._create_product_sync(
|
80
77
|
product_create=product_create,
|
@@ -111,10 +108,7 @@ class ProductsApi:
|
|
111
108
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
112
109
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
113
110
|
) -> ApiResponse[Product]:
|
114
|
-
"""Create Product with HTTP info
|
115
|
-
|
116
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
117
|
-
"""
|
111
|
+
"""Create Product with HTTP info"""
|
118
112
|
if self.is_sync:
|
119
113
|
return self._create_product_sync_with_http_info(
|
120
114
|
product_create=product_create,
|
@@ -151,10 +145,7 @@ class ProductsApi:
|
|
151
145
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
152
146
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
153
147
|
) -> RESTResponseType:
|
154
|
-
"""Create Product without preloading content
|
155
|
-
|
156
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
157
|
-
"""
|
148
|
+
"""Create Product without preloading content"""
|
158
149
|
if self.is_sync:
|
159
150
|
return self._create_product_sync_without_preload_content(
|
160
151
|
product_create=product_create,
|
@@ -521,10 +512,7 @@ class ProductsApi:
|
|
521
512
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
522
513
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
523
514
|
) -> List[List[object]]:
|
524
|
-
"""Get Product Usage
|
525
|
-
|
526
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
527
|
-
"""
|
515
|
+
"""Get Product Usage"""
|
528
516
|
if self.is_sync:
|
529
517
|
return self._get_product_usage_sync(
|
530
518
|
_request_timeout=_request_timeout,
|
@@ -558,10 +546,7 @@ class ProductsApi:
|
|
558
546
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
559
547
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
560
548
|
) -> ApiResponse[List[List[object]]]:
|
561
|
-
"""Get Product Usage with HTTP info
|
562
|
-
|
563
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
564
|
-
"""
|
549
|
+
"""Get Product Usage with HTTP info"""
|
565
550
|
if self.is_sync:
|
566
551
|
return self._get_product_usage_sync_with_http_info(
|
567
552
|
_request_timeout=_request_timeout,
|
@@ -595,10 +580,7 @@ class ProductsApi:
|
|
595
580
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
596
581
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
597
582
|
) -> RESTResponseType:
|
598
|
-
"""Get Product Usage without preloading content
|
599
|
-
|
600
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
601
|
-
"""
|
583
|
+
"""Get Product Usage without preloading content"""
|
602
584
|
if self.is_sync:
|
603
585
|
return self._get_product_usage_sync_without_preload_content(
|
604
586
|
_request_timeout=_request_timeout,
|
@@ -944,10 +926,7 @@ class ProductsApi:
|
|
944
926
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
945
927
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
946
928
|
) -> List[Product]:
|
947
|
-
"""Get Products
|
948
|
-
|
949
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
950
|
-
"""
|
929
|
+
"""Get Products"""
|
951
930
|
if self.is_sync:
|
952
931
|
return self._get_products_sync(
|
953
932
|
limit=limit,
|
@@ -997,10 +976,7 @@ class ProductsApi:
|
|
997
976
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
998
977
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
999
978
|
) -> ApiResponse[List[Product]]:
|
1000
|
-
"""Get Products with HTTP info
|
1001
|
-
|
1002
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1003
|
-
"""
|
979
|
+
"""Get Products with HTTP info"""
|
1004
980
|
if self.is_sync:
|
1005
981
|
return self._get_products_sync_with_http_info(
|
1006
982
|
limit=limit,
|
@@ -1050,10 +1026,7 @@ class ProductsApi:
|
|
1050
1026
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1051
1027
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1052
1028
|
) -> RESTResponseType:
|
1053
|
-
"""Get Products without preloading content
|
1054
|
-
|
1055
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1056
|
-
"""
|
1029
|
+
"""Get Products without preloading content"""
|
1057
1030
|
if self.is_sync:
|
1058
1031
|
return self._get_products_sync_without_preload_content(
|
1059
1032
|
limit=limit,
|
@@ -1499,10 +1472,7 @@ class ProductsApi:
|
|
1499
1472
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1500
1473
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1501
1474
|
) -> Product:
|
1502
|
-
"""Update Product
|
1503
|
-
|
1504
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1505
|
-
"""
|
1475
|
+
"""Update Product"""
|
1506
1476
|
if self.is_sync:
|
1507
1477
|
return self._update_product_sync(
|
1508
1478
|
id=id,
|
@@ -1542,10 +1512,7 @@ class ProductsApi:
|
|
1542
1512
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1543
1513
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1544
1514
|
) -> ApiResponse[Product]:
|
1545
|
-
"""Update Product with HTTP info
|
1546
|
-
|
1547
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1548
|
-
"""
|
1515
|
+
"""Update Product with HTTP info"""
|
1549
1516
|
if self.is_sync:
|
1550
1517
|
return self._update_product_sync_with_http_info(
|
1551
1518
|
id=id,
|
@@ -1585,10 +1552,7 @@ class ProductsApi:
|
|
1585
1552
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1586
1553
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1587
1554
|
) -> RESTResponseType:
|
1588
|
-
"""Update Product without preloading content
|
1589
|
-
|
1590
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1591
|
-
"""
|
1555
|
+
"""Update Product without preloading content"""
|
1592
1556
|
if self.is_sync:
|
1593
1557
|
return self._update_product_sync_without_preload_content(
|
1594
1558
|
id=id,
|
@@ -68,10 +68,7 @@ class StatusApi:
|
|
68
68
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
69
69
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
70
70
|
) -> str:
|
71
|
-
"""Time
|
72
|
-
|
73
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
74
|
-
"""
|
71
|
+
"""Time"""
|
75
72
|
if self.is_sync:
|
76
73
|
return self._get_time_sync(
|
77
74
|
type=type,
|
@@ -108,10 +105,7 @@ class StatusApi:
|
|
108
105
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
109
106
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
110
107
|
) -> ApiResponse[str]:
|
111
|
-
"""Time with HTTP info
|
112
|
-
|
113
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
114
|
-
"""
|
108
|
+
"""Time with HTTP info"""
|
115
109
|
if self.is_sync:
|
116
110
|
return self._get_time_sync_with_http_info(
|
117
111
|
type=type,
|
@@ -148,10 +142,7 @@ class StatusApi:
|
|
148
142
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
149
143
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
150
144
|
) -> RESTResponseType:
|
151
|
-
"""Time without preloading content
|
152
|
-
|
153
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
154
|
-
"""
|
145
|
+
"""Time without preloading content"""
|
155
146
|
if self.is_sync:
|
156
147
|
return self._get_time_sync_without_preload_content(
|
157
148
|
type=type,
|
@@ -510,10 +501,7 @@ class StatusApi:
|
|
510
501
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
511
502
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
512
503
|
) -> str:
|
513
|
-
"""Ping
|
514
|
-
|
515
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
516
|
-
"""
|
504
|
+
"""Ping"""
|
517
505
|
if self.is_sync:
|
518
506
|
return self._ping_sync(
|
519
507
|
_request_timeout=_request_timeout,
|
@@ -547,10 +535,7 @@ class StatusApi:
|
|
547
535
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
548
536
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
549
537
|
) -> ApiResponse[str]:
|
550
|
-
"""Ping with HTTP info
|
551
|
-
|
552
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
553
|
-
"""
|
538
|
+
"""Ping with HTTP info"""
|
554
539
|
if self.is_sync:
|
555
540
|
return self._ping_sync_with_http_info(
|
556
541
|
_request_timeout=_request_timeout,
|
@@ -584,10 +569,7 @@ class StatusApi:
|
|
584
569
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
585
570
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
586
571
|
) -> RESTResponseType:
|
587
|
-
"""Ping without preloading content
|
588
|
-
|
589
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
590
|
-
"""
|
572
|
+
"""Ping without preloading content"""
|
591
573
|
if self.is_sync:
|
592
574
|
return self._ping_sync_without_preload_content(
|
593
575
|
_request_timeout=_request_timeout,
|
@@ -67,12 +67,22 @@ from crypticorn.trade.client.models.notification_update import NotificationUpdat
|
|
67
67
|
from crypticorn.trade.client.models.order import Order
|
68
68
|
from crypticorn.trade.client.models.order_status import OrderStatus
|
69
69
|
from crypticorn.trade.client.models.orders_count import OrdersCount
|
70
|
+
from crypticorn.trade.client.models.paginated_response_futures_trading_action import (
|
71
|
+
PaginatedResponseFuturesTradingAction,
|
72
|
+
)
|
70
73
|
from crypticorn.trade.client.models.paginated_response_order import (
|
71
74
|
PaginatedResponseOrder,
|
72
75
|
)
|
76
|
+
from crypticorn.trade.client.models.paginated_response_union_futures_trading_action_spot_trading_action import (
|
77
|
+
PaginatedResponseUnionFuturesTradingActionSpotTradingAction,
|
78
|
+
)
|
79
|
+
from crypticorn.trade.client.models.paginated_response_union_futures_trading_action_spot_trading_action_data_inner import (
|
80
|
+
PaginatedResponseUnionFuturesTradingActionSpotTradingActionDataInner,
|
81
|
+
)
|
73
82
|
from crypticorn.trade.client.models.pn_l import PnL
|
74
83
|
from crypticorn.trade.client.models.post_futures_action import PostFuturesAction
|
75
84
|
from crypticorn.trade.client.models.spot_balance import SpotBalance
|
85
|
+
from crypticorn.trade.client.models.spot_trading_action import SpotTradingAction
|
76
86
|
from crypticorn.trade.client.models.spot_trading_action_create import (
|
77
87
|
SpotTradingActionCreate,
|
78
88
|
)
|
@@ -72,10 +72,7 @@ class AdminApi:
|
|
72
72
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
73
73
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
74
74
|
) -> Dict[str, object]:
|
75
|
-
"""Get Container Limits
|
76
|
-
|
77
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
78
|
-
"""
|
75
|
+
"""Get Container Limits"""
|
79
76
|
if self.is_sync:
|
80
77
|
return self._get_container_limits_sync(
|
81
78
|
_request_timeout=_request_timeout,
|
@@ -109,10 +106,7 @@ class AdminApi:
|
|
109
106
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
110
107
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
111
108
|
) -> ApiResponse[Dict[str, object]]:
|
112
|
-
"""Get Container Limits with HTTP info
|
113
|
-
|
114
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
115
|
-
"""
|
109
|
+
"""Get Container Limits with HTTP info"""
|
116
110
|
if self.is_sync:
|
117
111
|
return self._get_container_limits_sync_with_http_info(
|
118
112
|
_request_timeout=_request_timeout,
|
@@ -146,10 +140,7 @@ class AdminApi:
|
|
146
140
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
147
141
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
148
142
|
) -> RESTResponseType:
|
149
|
-
"""Get Container Limits without preloading content
|
150
|
-
|
151
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
152
|
-
"""
|
143
|
+
"""Get Container Limits without preloading content"""
|
153
144
|
if self.is_sync:
|
154
145
|
return self._get_container_limits_sync_without_preload_content(
|
155
146
|
_request_timeout=_request_timeout,
|
@@ -489,10 +480,7 @@ class AdminApi:
|
|
489
480
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
490
481
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
491
482
|
) -> Dict[str, Optional[str]]:
|
492
|
-
"""List Installed Packages
|
493
|
-
|
494
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
495
|
-
"""
|
483
|
+
"""List Installed Packages"""
|
496
484
|
if self.is_sync:
|
497
485
|
return self._get_dependencies_sync(
|
498
486
|
include=include,
|
@@ -534,10 +522,7 @@ class AdminApi:
|
|
534
522
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
535
523
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
536
524
|
) -> ApiResponse[Dict[str, Optional[str]]]:
|
537
|
-
"""List Installed Packages with HTTP info
|
538
|
-
|
539
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
540
|
-
"""
|
525
|
+
"""List Installed Packages with HTTP info"""
|
541
526
|
if self.is_sync:
|
542
527
|
return self._get_dependencies_sync_with_http_info(
|
543
528
|
include=include,
|
@@ -579,10 +564,7 @@ class AdminApi:
|
|
579
564
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
580
565
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
581
566
|
) -> RESTResponseType:
|
582
|
-
"""List Installed Packages without preloading content
|
583
|
-
|
584
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
585
|
-
"""
|
567
|
+
"""List Installed Packages without preloading content"""
|
586
568
|
if self.is_sync:
|
587
569
|
return self._get_dependencies_sync_without_preload_content(
|
588
570
|
include=include,
|
@@ -973,10 +955,7 @@ class AdminApi:
|
|
973
955
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
974
956
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
975
957
|
) -> LogLevel:
|
976
|
-
"""Get Logging Level
|
977
|
-
|
978
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
979
|
-
"""
|
958
|
+
"""Get Logging Level"""
|
980
959
|
if self.is_sync:
|
981
960
|
return self._get_log_level_sync(
|
982
961
|
_request_timeout=_request_timeout,
|
@@ -1010,10 +989,7 @@ class AdminApi:
|
|
1010
989
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1011
990
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1012
991
|
) -> ApiResponse[LogLevel]:
|
1013
|
-
"""Get Logging Level with HTTP info
|
1014
|
-
|
1015
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1016
|
-
"""
|
992
|
+
"""Get Logging Level with HTTP info"""
|
1017
993
|
if self.is_sync:
|
1018
994
|
return self._get_log_level_sync_with_http_info(
|
1019
995
|
_request_timeout=_request_timeout,
|
@@ -1047,10 +1023,7 @@ class AdminApi:
|
|
1047
1023
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1048
1024
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1049
1025
|
) -> RESTResponseType:
|
1050
|
-
"""Get Logging Level without preloading content
|
1051
|
-
|
1052
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1053
|
-
"""
|
1026
|
+
"""Get Logging Level without preloading content"""
|
1054
1027
|
if self.is_sync:
|
1055
1028
|
return self._get_log_level_sync_without_preload_content(
|
1056
1029
|
_request_timeout=_request_timeout,
|
@@ -1387,10 +1360,7 @@ class AdminApi:
|
|
1387
1360
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1388
1361
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1389
1362
|
) -> float:
|
1390
|
-
"""Get Memory Usage
|
1391
|
-
|
1392
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1393
|
-
"""
|
1363
|
+
"""Get Memory Usage"""
|
1394
1364
|
if self.is_sync:
|
1395
1365
|
return self._get_memory_usage_sync(
|
1396
1366
|
_request_timeout=_request_timeout,
|
@@ -1424,10 +1394,7 @@ class AdminApi:
|
|
1424
1394
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1425
1395
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1426
1396
|
) -> ApiResponse[float]:
|
1427
|
-
"""Get Memory Usage with HTTP info
|
1428
|
-
|
1429
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1430
|
-
"""
|
1397
|
+
"""Get Memory Usage with HTTP info"""
|
1431
1398
|
if self.is_sync:
|
1432
1399
|
return self._get_memory_usage_sync_with_http_info(
|
1433
1400
|
_request_timeout=_request_timeout,
|
@@ -1461,10 +1428,7 @@ class AdminApi:
|
|
1461
1428
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1462
1429
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1463
1430
|
) -> RESTResponseType:
|
1464
|
-
"""Get Memory Usage without preloading content
|
1465
|
-
|
1466
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1467
|
-
"""
|
1431
|
+
"""Get Memory Usage without preloading content"""
|
1468
1432
|
if self.is_sync:
|
1469
1433
|
return self._get_memory_usage_sync_without_preload_content(
|
1470
1434
|
_request_timeout=_request_timeout,
|
@@ -1798,10 +1762,7 @@ class AdminApi:
|
|
1798
1762
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1799
1763
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1800
1764
|
) -> object:
|
1801
|
-
"""Metrics
|
1802
|
-
|
1803
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1804
|
-
"""
|
1765
|
+
"""Metrics"""
|
1805
1766
|
if self.is_sync:
|
1806
1767
|
return self._get_metrics_sync(
|
1807
1768
|
_request_timeout=_request_timeout,
|
@@ -1835,10 +1796,7 @@ class AdminApi:
|
|
1835
1796
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1836
1797
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1837
1798
|
) -> ApiResponse[object]:
|
1838
|
-
"""Metrics with HTTP info
|
1839
|
-
|
1840
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1841
|
-
"""
|
1799
|
+
"""Metrics with HTTP info"""
|
1842
1800
|
if self.is_sync:
|
1843
1801
|
return self._get_metrics_sync_with_http_info(
|
1844
1802
|
_request_timeout=_request_timeout,
|
@@ -1872,10 +1830,7 @@ class AdminApi:
|
|
1872
1830
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1873
1831
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1874
1832
|
) -> RESTResponseType:
|
1875
|
-
"""Metrics without preloading content
|
1876
|
-
|
1877
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1878
|
-
"""
|
1833
|
+
"""Metrics without preloading content"""
|
1879
1834
|
if self.is_sync:
|
1880
1835
|
return self._get_metrics_sync_without_preload_content(
|
1881
1836
|
_request_timeout=_request_timeout,
|
@@ -2209,10 +2164,7 @@ class AdminApi:
|
|
2209
2164
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2210
2165
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2211
2166
|
) -> Dict[str, object]:
|
2212
|
-
"""Get Threads
|
2213
|
-
|
2214
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2215
|
-
"""
|
2167
|
+
"""Get Threads"""
|
2216
2168
|
if self.is_sync:
|
2217
2169
|
return self._get_threads_sync(
|
2218
2170
|
_request_timeout=_request_timeout,
|
@@ -2246,10 +2198,7 @@ class AdminApi:
|
|
2246
2198
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2247
2199
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2248
2200
|
) -> ApiResponse[Dict[str, object]]:
|
2249
|
-
"""Get Threads with HTTP info
|
2250
|
-
|
2251
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2252
|
-
"""
|
2201
|
+
"""Get Threads with HTTP info"""
|
2253
2202
|
if self.is_sync:
|
2254
2203
|
return self._get_threads_sync_with_http_info(
|
2255
2204
|
_request_timeout=_request_timeout,
|
@@ -2283,10 +2232,7 @@ class AdminApi:
|
|
2283
2232
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2284
2233
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2285
2234
|
) -> RESTResponseType:
|
2286
|
-
"""Get Threads without preloading content
|
2287
|
-
|
2288
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2289
|
-
"""
|
2235
|
+
"""Get Threads without preloading content"""
|
2290
2236
|
if self.is_sync:
|
2291
2237
|
return self._get_threads_sync_without_preload_content(
|
2292
2238
|
_request_timeout=_request_timeout,
|
@@ -2621,10 +2567,7 @@ class AdminApi:
|
|
2621
2567
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2622
2568
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2623
2569
|
) -> str:
|
2624
|
-
"""Get Uptime
|
2625
|
-
|
2626
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2627
|
-
"""
|
2570
|
+
"""Get Uptime"""
|
2628
2571
|
if self.is_sync:
|
2629
2572
|
return self._get_uptime_sync(
|
2630
2573
|
type=type,
|
@@ -2661,10 +2604,7 @@ class AdminApi:
|
|
2661
2604
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2662
2605
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2663
2606
|
) -> ApiResponse[str]:
|
2664
|
-
"""Get Uptime with HTTP info
|
2665
|
-
|
2666
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2667
|
-
"""
|
2607
|
+
"""Get Uptime with HTTP info"""
|
2668
2608
|
if self.is_sync:
|
2669
2609
|
return self._get_uptime_sync_with_http_info(
|
2670
2610
|
type=type,
|
@@ -2701,10 +2641,7 @@ class AdminApi:
|
|
2701
2641
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2702
2642
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2703
2643
|
) -> RESTResponseType:
|
2704
|
-
"""Get Uptime without preloading content
|
2705
|
-
|
2706
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2707
|
-
"""
|
2644
|
+
"""Get Uptime without preloading content"""
|
2708
2645
|
if self.is_sync:
|
2709
2646
|
return self._get_uptime_sync_without_preload_content(
|
2710
2647
|
type=type,
|