crypticorn 2.17.0rc4__py3-none-any.whl → 2.17.0rc6__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.
Files changed (151) hide show
  1. crypticorn/auth/client/api/admin_api.py +6 -26
  2. crypticorn/auth/client/api/auth_api.py +36 -148
  3. crypticorn/auth/client/api/service_api.py +3 -16
  4. crypticorn/auth/client/api/user_api.py +33 -136
  5. crypticorn/auth/client/api/wallet_api.py +18 -76
  6. crypticorn/auth/client/api_client.py +0 -5
  7. crypticorn/auth/client/models/add_wallet_request.py +1 -1
  8. crypticorn/auth/client/models/authorize_user_request.py +1 -1
  9. crypticorn/auth/client/models/create_api_key_request.py +1 -1
  10. crypticorn/auth/client/models/create_user_request.py +1 -1
  11. crypticorn/auth/client/models/get_api_keys200_response_inner.py +1 -1
  12. crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +1 -1
  13. crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +1 -1
  14. crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +1 -1
  15. crypticorn/auth/client/models/list_wallets200_response_data_inner.py +1 -1
  16. crypticorn/auth/client/models/logout_default_response.py +1 -1
  17. crypticorn/auth/client/models/oauth_callback200_response_user.py +1 -1
  18. crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +1 -1
  19. crypticorn/auth/client/models/rotate_tokens200_response.py +1 -1
  20. crypticorn/auth/client/models/token_info200_response.py +1 -1
  21. crypticorn/auth/client/models/update_user_request.py +1 -1
  22. crypticorn/auth/client/models/user_by_username200_response.py +1 -1
  23. crypticorn/auth/client/models/verify200_response.py +1 -1
  24. crypticorn/auth/client/models/verify_email200_response_auth.py +1 -1
  25. crypticorn/auth/client/models/verify_email200_response_auth_auth.py +1 -1
  26. crypticorn/auth/client/models/whoami200_response.py +1 -1
  27. crypticorn/cli/init.py +1 -1
  28. crypticorn/cli/templates/.env.docker.temp +3 -0
  29. crypticorn/cli/templates/.env.example.temp +4 -0
  30. crypticorn/cli/templates/Dockerfile +5 -2
  31. crypticorn/client.py +0 -1
  32. crypticorn/common/auth.py +31 -4
  33. crypticorn/common/decorators.py +1 -2
  34. crypticorn/common/enums.py +0 -2
  35. crypticorn/common/errors.py +10 -0
  36. crypticorn/common/metrics.py +1 -1
  37. crypticorn/common/middleware.py +0 -1
  38. crypticorn/common/pagination.py +116 -24
  39. crypticorn/common/router/admin_router.py +1 -11
  40. crypticorn/common/router/status_router.py +33 -2
  41. crypticorn/common/scopes.py +2 -2
  42. crypticorn/common/utils.py +1 -2
  43. crypticorn/dex/__init__.py +6 -0
  44. crypticorn/dex/client/__init__.py +49 -0
  45. crypticorn/dex/client/api/__init__.py +6 -0
  46. crypticorn/dex/client/api/admin_api.py +2983 -0
  47. crypticorn/dex/client/api/signals_api.py +1794 -0
  48. crypticorn/dex/client/api/status_api.py +889 -0
  49. crypticorn/dex/client/api_client.py +753 -0
  50. crypticorn/dex/client/api_response.py +20 -0
  51. crypticorn/dex/client/configuration.py +620 -0
  52. crypticorn/dex/client/exceptions.py +220 -0
  53. crypticorn/dex/client/models/__init__.py +30 -0
  54. crypticorn/dex/client/models/api_error_identifier.py +121 -0
  55. crypticorn/dex/client/models/api_error_level.py +37 -0
  56. crypticorn/dex/client/models/api_error_type.py +37 -0
  57. crypticorn/dex/client/models/exception_detail.py +117 -0
  58. crypticorn/dex/client/models/log_level.py +38 -0
  59. crypticorn/dex/client/models/paginated_response_signal_with_token.py +134 -0
  60. crypticorn/dex/client/models/risk.py +86 -0
  61. crypticorn/dex/client/models/signal_overview_stats.py +156 -0
  62. crypticorn/dex/client/models/signal_volume.py +84 -0
  63. crypticorn/dex/client/models/signal_with_token.py +163 -0
  64. crypticorn/dex/client/models/token_data.py +127 -0
  65. crypticorn/dex/client/models/token_detail.py +116 -0
  66. crypticorn/dex/client/py.typed +0 -0
  67. crypticorn/dex/client/rest.py +217 -0
  68. crypticorn/dex/main.py +1 -0
  69. crypticorn/hive/client/api/admin_api.py +18 -75
  70. crypticorn/hive/client/api/data_api.py +6 -28
  71. crypticorn/hive/client/api/models_api.py +22 -88
  72. crypticorn/hive/client/api/status_api.py +6 -27
  73. crypticorn/hive/client/api_client.py +0 -5
  74. crypticorn/hive/client/models/coin_info.py +1 -1
  75. crypticorn/hive/client/models/exception_detail.py +1 -1
  76. crypticorn/hive/client/models/target_info.py +1 -1
  77. crypticorn/hive/utils.py +2 -2
  78. crypticorn/klines/client/api/admin_api.py +18 -75
  79. crypticorn/klines/client/api/change_in_timeframe_api.py +3 -16
  80. crypticorn/klines/client/api/funding_rates_api.py +3 -16
  81. crypticorn/klines/client/api/ohlcv_data_api.py +3 -16
  82. crypticorn/klines/client/api/status_api.py +6 -27
  83. crypticorn/klines/client/api/symbols_api.py +3 -16
  84. crypticorn/klines/client/api/udf_api.py +18 -74
  85. crypticorn/klines/client/api_client.py +0 -5
  86. crypticorn/klines/client/models/exception_detail.py +1 -1
  87. crypticorn/klines/client/models/ohlcv.py +1 -1
  88. crypticorn/klines/client/models/symbol_group.py +1 -1
  89. crypticorn/klines/client/models/udf_config.py +1 -1
  90. crypticorn/metrics/client/api/admin_api.py +18 -75
  91. crypticorn/metrics/client/api/exchanges_api.py +12 -52
  92. crypticorn/metrics/client/api/indicators_api.py +6 -28
  93. crypticorn/metrics/client/api/logs_api.py +3 -16
  94. crypticorn/metrics/client/api/marketcap_api.py +12 -52
  95. crypticorn/metrics/client/api/markets_api.py +3 -16
  96. crypticorn/metrics/client/api/quote_currencies_api.py +3 -16
  97. crypticorn/metrics/client/api/status_api.py +6 -27
  98. crypticorn/metrics/client/api/tokens_api.py +6 -26
  99. crypticorn/metrics/client/api_client.py +0 -5
  100. crypticorn/metrics/client/models/exception_detail.py +1 -1
  101. crypticorn/metrics/client/models/exchange_mapping.py +1 -1
  102. crypticorn/metrics/client/models/marketcap_ranking.py +1 -1
  103. crypticorn/metrics/client/models/marketcap_symbol_ranking.py +1 -1
  104. crypticorn/metrics/client/models/ohlcv.py +1 -1
  105. crypticorn/pay/client/api/admin_api.py +21 -87
  106. crypticorn/pay/client/api/now_payments_api.py +15 -64
  107. crypticorn/pay/client/api/payments_api.py +6 -28
  108. crypticorn/pay/client/api/products_api.py +12 -52
  109. crypticorn/pay/client/api/status_api.py +6 -27
  110. crypticorn/pay/client/api_client.py +0 -5
  111. crypticorn/pay/client/models/exception_detail.py +1 -1
  112. crypticorn/pay/client/models/now_create_invoice_req.py +1 -1
  113. crypticorn/pay/client/models/now_create_invoice_res.py +1 -1
  114. crypticorn/pay/client/models/product.py +1 -1
  115. crypticorn/pay/client/models/product_create.py +1 -1
  116. crypticorn/pay/client/models/product_update.py +1 -1
  117. crypticorn/trade/client/__init__.py +15 -0
  118. crypticorn/trade/client/api/admin_api.py +43 -107
  119. crypticorn/trade/client/api/api_keys_api.py +207 -184
  120. crypticorn/trade/client/api/bots_api.py +6557 -240
  121. crypticorn/trade/client/api/exchanges_api.py +9 -36
  122. crypticorn/trade/client/api/notifications_api.py +18 -72
  123. crypticorn/trade/client/api/orders_api.py +220 -115
  124. crypticorn/trade/client/api/status_api.py +6 -24
  125. crypticorn/trade/client/api/strategies_api.py +15 -60
  126. crypticorn/trade/client/api/trading_actions_api.py +431 -112
  127. crypticorn/trade/client/models/__init__.py +15 -0
  128. crypticorn/trade/client/models/bot.py +7 -18
  129. crypticorn/trade/client/models/bot_create.py +17 -1
  130. crypticorn/trade/client/models/bot_update.py +17 -1
  131. crypticorn/trade/client/models/exchange_key_create.py +17 -1
  132. crypticorn/trade/client/models/exchange_key_update.py +17 -1
  133. crypticorn/trade/client/models/notification.py +17 -1
  134. crypticorn/trade/client/models/notification_create.py +17 -1
  135. crypticorn/trade/client/models/notification_update.py +17 -1
  136. crypticorn/trade/client/models/orders_count.py +88 -0
  137. crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
  138. crypticorn/trade/client/models/paginated_response_order.py +134 -0
  139. crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
  140. crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
  141. crypticorn/trade/client/models/pn_l.py +95 -0
  142. crypticorn/trade/client/models/spot_trading_action.py +207 -0
  143. crypticorn/trade/client/models/strategy.py +17 -1
  144. crypticorn/trade/client/models/strategy_create.py +17 -1
  145. crypticorn/trade/client/models/strategy_update.py +17 -1
  146. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/METADATA +3 -3
  147. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/RECORD +151 -116
  148. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/WHEEL +0 -0
  149. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/entry_points.txt +0 -0
  150. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/licenses/LICENSE +0 -0
  151. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/top_level.txt +0 -0
@@ -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,
@@ -472,7 +463,7 @@ class AdminApi:
472
463
  def get_dependencies(
473
464
  self,
474
465
  include: Annotated[
475
- Optional[List[StrictStr]],
466
+ Optional[List[Optional[StrictStr]]],
476
467
  Field(
477
468
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
478
469
  ),
@@ -488,11 +479,8 @@ class AdminApi:
488
479
  _content_type: Optional[StrictStr] = None,
489
480
  _headers: Optional[Dict[StrictStr, Any]] = None,
490
481
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
491
- ) -> Dict[str, str]:
492
- """List Installed Packages
493
-
494
- This method can work in both sync and async modes based on the is_sync flag.
495
- """
482
+ ) -> Dict[str, Optional[str]]:
483
+ """List Installed Packages"""
496
484
  if self.is_sync:
497
485
  return self._get_dependencies_sync(
498
486
  include=include,
@@ -517,7 +505,7 @@ class AdminApi:
517
505
  def get_dependencies_with_http_info(
518
506
  self,
519
507
  include: Annotated[
520
- Optional[List[StrictStr]],
508
+ Optional[List[Optional[StrictStr]]],
521
509
  Field(
522
510
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
523
511
  ),
@@ -533,11 +521,8 @@ class AdminApi:
533
521
  _content_type: Optional[StrictStr] = None,
534
522
  _headers: Optional[Dict[StrictStr, Any]] = None,
535
523
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
536
- ) -> ApiResponse[Dict[str, 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
- """
524
+ ) -> ApiResponse[Dict[str, Optional[str]]]:
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,
@@ -562,7 +547,7 @@ class AdminApi:
562
547
  def get_dependencies_without_preload_content(
563
548
  self,
564
549
  include: Annotated[
565
- Optional[List[StrictStr]],
550
+ Optional[List[Optional[StrictStr]]],
566
551
  Field(
567
552
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
568
553
  ),
@@ -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,
@@ -608,7 +590,7 @@ class AdminApi:
608
590
  async def _get_dependencies_async(
609
591
  self,
610
592
  include: Annotated[
611
- Optional[List[StrictStr]],
593
+ Optional[List[Optional[StrictStr]]],
612
594
  Field(
613
595
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
614
596
  ),
@@ -624,13 +606,13 @@ class AdminApi:
624
606
  _content_type: Optional[StrictStr] = None,
625
607
  _headers: Optional[Dict[StrictStr, Any]] = None,
626
608
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
627
- ) -> Dict[str, str]:
609
+ ) -> Dict[str, Optional[str]]:
628
610
  """List Installed Packages
629
611
 
630
612
  Return a list of installed packages and versions. The include parameter accepts regex patterns to match against package names. For example: - crypticorn.* will match all packages starting with 'crypticorn' - .*tic.* will match all packages containing 'tic' in their name
631
613
 
632
614
  :param include: List of regex patterns to match against package names. If not provided, all installed packages will be returned.
633
- :type include: List[str]
615
+ :type include: List[Optional[str]]
634
616
  :param _request_timeout: timeout setting for this request. If one
635
617
  number provided, it will be total request
636
618
  timeout. It can also be a pair (tuple) of
@@ -662,7 +644,7 @@ class AdminApi:
662
644
  )
663
645
 
664
646
  _response_types_map: Dict[str, Optional[str]] = {
665
- "200": "Dict[str, str]",
647
+ "200": "Dict[str, Optional[str]]",
666
648
  }
667
649
  response_data = await self.api_client.call_api(
668
650
  *_param, _request_timeout=_request_timeout
@@ -677,7 +659,7 @@ class AdminApi:
677
659
  async def _get_dependencies_async_with_http_info(
678
660
  self,
679
661
  include: Annotated[
680
- Optional[List[StrictStr]],
662
+ Optional[List[Optional[StrictStr]]],
681
663
  Field(
682
664
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
683
665
  ),
@@ -693,13 +675,13 @@ class AdminApi:
693
675
  _content_type: Optional[StrictStr] = None,
694
676
  _headers: Optional[Dict[StrictStr, Any]] = None,
695
677
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
696
- ) -> ApiResponse[Dict[str, str]]:
678
+ ) -> ApiResponse[Dict[str, Optional[str]]]:
697
679
  """List Installed Packages
698
680
 
699
681
  Return a list of installed packages and versions. The include parameter accepts regex patterns to match against package names. For example: - crypticorn.* will match all packages starting with 'crypticorn' - .*tic.* will match all packages containing 'tic' in their name
700
682
 
701
683
  :param include: List of regex patterns to match against package names. If not provided, all installed packages will be returned.
702
- :type include: List[str]
684
+ :type include: List[Optional[str]]
703
685
  :param _request_timeout: timeout setting for this request. If one
704
686
  number provided, it will be total request
705
687
  timeout. It can also be a pair (tuple) of
@@ -731,7 +713,7 @@ class AdminApi:
731
713
  )
732
714
 
733
715
  _response_types_map: Dict[str, Optional[str]] = {
734
- "200": "Dict[str, str]",
716
+ "200": "Dict[str, Optional[str]]",
735
717
  }
736
718
  response_data = await self.api_client.call_api(
737
719
  *_param, _request_timeout=_request_timeout
@@ -745,7 +727,7 @@ class AdminApi:
745
727
  async def _get_dependencies_async_without_preload_content(
746
728
  self,
747
729
  include: Annotated[
748
- Optional[List[StrictStr]],
730
+ Optional[List[Optional[StrictStr]]],
749
731
  Field(
750
732
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
751
733
  ),
@@ -767,7 +749,7 @@ class AdminApi:
767
749
  Return a list of installed packages and versions. The include parameter accepts regex patterns to match against package names. For example: - crypticorn.* will match all packages starting with 'crypticorn' - .*tic.* will match all packages containing 'tic' in their name
768
750
 
769
751
  :param include: List of regex patterns to match against package names. If not provided, all installed packages will be returned.
770
- :type include: List[str]
752
+ :type include: List[Optional[str]]
771
753
  :param _request_timeout: timeout setting for this request. If one
772
754
  number provided, it will be total request
773
755
  timeout. It can also be a pair (tuple) of
@@ -799,7 +781,7 @@ class AdminApi:
799
781
  )
800
782
 
801
783
  _response_types_map: Dict[str, Optional[str]] = {
802
- "200": "Dict[str, str]",
784
+ "200": "Dict[str, Optional[str]]",
803
785
  }
804
786
  response_data = await self.api_client.call_api(
805
787
  *_param, _request_timeout=_request_timeout
@@ -811,7 +793,7 @@ class AdminApi:
811
793
  def _get_dependencies_sync(
812
794
  self,
813
795
  include: Annotated[
814
- Optional[List[StrictStr]],
796
+ Optional[List[Optional[StrictStr]]],
815
797
  Field(
816
798
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
817
799
  ),
@@ -827,7 +809,7 @@ class AdminApi:
827
809
  _content_type: Optional[StrictStr] = None,
828
810
  _headers: Optional[Dict[StrictStr, Any]] = None,
829
811
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
830
- ) -> Dict[str, str]:
812
+ ) -> Dict[str, Optional[str]]:
831
813
  """Synchronous version of get_dependencies"""
832
814
  return async_to_sync(self._get_dependencies_async)(
833
815
  include=include,
@@ -842,7 +824,7 @@ class AdminApi:
842
824
  def _get_dependencies_sync_with_http_info(
843
825
  self,
844
826
  include: Annotated[
845
- Optional[List[StrictStr]],
827
+ Optional[List[Optional[StrictStr]]],
846
828
  Field(
847
829
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
848
830
  ),
@@ -858,7 +840,7 @@ class AdminApi:
858
840
  _content_type: Optional[StrictStr] = None,
859
841
  _headers: Optional[Dict[StrictStr, Any]] = None,
860
842
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
861
- ) -> ApiResponse[Dict[str, str]]:
843
+ ) -> ApiResponse[Dict[str, Optional[str]]]:
862
844
  """Synchronous version of get_dependencies_with_http_info"""
863
845
  return async_to_sync(self._get_dependencies_async_with_http_info)(
864
846
  include=include,
@@ -873,7 +855,7 @@ class AdminApi:
873
855
  def _get_dependencies_sync_without_preload_content(
874
856
  self,
875
857
  include: Annotated[
876
- Optional[List[StrictStr]],
858
+ Optional[List[Optional[StrictStr]]],
877
859
  Field(
878
860
  description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
879
861
  ),
@@ -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,
@@ -2011,8 +1966,7 @@ class AdminApi:
2011
1966
  )
2012
1967
  await response_data.read()
2013
1968
  return self.api_client.response_deserialize(
2014
- response_data=response_data,
2015
- response_types_map=_response_types_map,
1969
+ response_data=response_data, response_types_map=_response_types_map
2016
1970
  )
2017
1971
 
2018
1972
  @validate_call
@@ -2210,10 +2164,7 @@ class AdminApi:
2210
2164
  _headers: Optional[Dict[StrictStr, Any]] = None,
2211
2165
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2212
2166
  ) -> Dict[str, object]:
2213
- """Get Threads
2214
-
2215
- This method can work in both sync and async modes based on the is_sync flag.
2216
- """
2167
+ """Get Threads"""
2217
2168
  if self.is_sync:
2218
2169
  return self._get_threads_sync(
2219
2170
  _request_timeout=_request_timeout,
@@ -2247,10 +2198,7 @@ class AdminApi:
2247
2198
  _headers: Optional[Dict[StrictStr, Any]] = None,
2248
2199
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2249
2200
  ) -> ApiResponse[Dict[str, object]]:
2250
- """Get Threads with HTTP info
2251
-
2252
- This method can work in both sync and async modes based on the is_sync flag.
2253
- """
2201
+ """Get Threads with HTTP info"""
2254
2202
  if self.is_sync:
2255
2203
  return self._get_threads_sync_with_http_info(
2256
2204
  _request_timeout=_request_timeout,
@@ -2284,10 +2232,7 @@ class AdminApi:
2284
2232
  _headers: Optional[Dict[StrictStr, Any]] = None,
2285
2233
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2286
2234
  ) -> RESTResponseType:
2287
- """Get Threads without preloading content
2288
-
2289
- This method can work in both sync and async modes based on the is_sync flag.
2290
- """
2235
+ """Get Threads without preloading content"""
2291
2236
  if self.is_sync:
2292
2237
  return self._get_threads_sync_without_preload_content(
2293
2238
  _request_timeout=_request_timeout,
@@ -2622,10 +2567,7 @@ class AdminApi:
2622
2567
  _headers: Optional[Dict[StrictStr, Any]] = None,
2623
2568
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2624
2569
  ) -> str:
2625
- """Get Uptime
2626
-
2627
- This method can work in both sync and async modes based on the is_sync flag.
2628
- """
2570
+ """Get Uptime"""
2629
2571
  if self.is_sync:
2630
2572
  return self._get_uptime_sync(
2631
2573
  type=type,
@@ -2662,10 +2604,7 @@ class AdminApi:
2662
2604
  _headers: Optional[Dict[StrictStr, Any]] = None,
2663
2605
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2664
2606
  ) -> ApiResponse[str]:
2665
- """Get Uptime with HTTP info
2666
-
2667
- This method can work in both sync and async modes based on the is_sync flag.
2668
- """
2607
+ """Get Uptime with HTTP info"""
2669
2608
  if self.is_sync:
2670
2609
  return self._get_uptime_sync_with_http_info(
2671
2610
  type=type,
@@ -2702,10 +2641,7 @@ class AdminApi:
2702
2641
  _headers: Optional[Dict[StrictStr, Any]] = None,
2703
2642
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2704
2643
  ) -> RESTResponseType:
2705
- """Get Uptime without preloading content
2706
-
2707
- This method can work in both sync and async modes based on the is_sync flag.
2708
- """
2644
+ """Get Uptime without preloading content"""
2709
2645
  if self.is_sync:
2710
2646
  return self._get_uptime_sync_without_preload_content(
2711
2647
  type=type,