crypticorn 2.8.0rc3__py3-none-any.whl → 2.8.0rc4__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/common/mixins.py +1 -2
- crypticorn/common/router/admin_router.py +1 -1
- {crypticorn-2.8.0rc3.dist-info → crypticorn-2.8.0rc4.dist-info}/METADATA +1 -1
- {crypticorn-2.8.0rc3.dist-info → crypticorn-2.8.0rc4.dist-info}/RECORD +7 -7
- {crypticorn-2.8.0rc3.dist-info → crypticorn-2.8.0rc4.dist-info}/WHEEL +0 -0
- {crypticorn-2.8.0rc3.dist-info → crypticorn-2.8.0rc4.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.8.0rc3.dist-info → crypticorn-2.8.0rc4.dist-info}/top_level.txt +0 -0
crypticorn/common/mixins.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
from enum import EnumMeta
|
2
2
|
import logging
|
3
|
-
from typing_extensions import deprecated
|
4
3
|
|
5
4
|
logger = logging.getLogger("uvicorn")
|
6
5
|
|
@@ -33,7 +32,7 @@ class ValidateEnumMixin:
|
|
33
32
|
except ValueError:
|
34
33
|
return False
|
35
34
|
|
36
|
-
|
35
|
+
#This Mixin will be removed in a future version. And has no effect from now on
|
37
36
|
class ExcludeEnumMixin:
|
38
37
|
"""Mixin to exclude enum from OpenAPI schema. We use this to avoid duplicating enums when generating client code from the openapi spec."""
|
39
38
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
This module contains the admin router for the API.
|
3
3
|
It provides endpoints for monitoring the server and getting information about the environment.
|
4
4
|
ONLY ALLOW ACCESS TO THIS ROUTER WITH ADMIN SCOPES.
|
5
|
-
>>> app.include_router(admin_router, dependencies=[Security(auth_handler.combined_auth, scopes=[Scope.
|
5
|
+
>>> app.include_router(admin_router, dependencies=[Security(auth_handler.combined_auth, scopes=[Scope.READ_ADMIN, Scope.WRITE_ADMIN])])
|
6
6
|
"""
|
7
7
|
|
8
8
|
import os
|
@@ -72,12 +72,12 @@ crypticorn/common/errors.py,sha256=8jxZ2lLn_NoFKKq6n2JwKPsR0dA2vkGnbXDfEK6ndH0,2
|
|
72
72
|
crypticorn/common/exceptions.py,sha256=BuRLQIg2_pwsaQAhPKP3lY9q2GNp0SlRdXlvp1O2USo,6088
|
73
73
|
crypticorn/common/logging.py,sha256=aLZ4d1SN1E9GDA78_OSLfnIQ9KguVbrNxWcJWM3rX-4,3647
|
74
74
|
crypticorn/common/middleware.py,sha256=PnzYHvB653JfQmwbpoDiHTAjMhH599cQebU0UOyGI2k,1041
|
75
|
-
crypticorn/common/mixins.py,sha256=
|
75
|
+
crypticorn/common/mixins.py,sha256=o2x1aId-mSjLZ2BbDCVRvRH78d7EiDhQn5COwZAkkQs,1719
|
76
76
|
crypticorn/common/pagination.py,sha256=c07jrMNrBaNTmgx4sppdP7ND4RNT7NBqBXWvofazIlE,2251
|
77
77
|
crypticorn/common/scopes.py,sha256=ofJ5FDf30wab572XvDzAXVKBIUWa3shScAmzNrJsWqQ,2453
|
78
78
|
crypticorn/common/urls.py,sha256=3Gf1NU1XQYcOTjcdztG3bDAE98FVbgTK2QXzUe7tFVQ,878
|
79
79
|
crypticorn/common/utils.py,sha256=Kz2-I96MKIGKM18PHQ77VbKHLMGUvZG_jjj7xpQed8k,2138
|
80
|
-
crypticorn/common/router/admin_router.py,sha256=
|
80
|
+
crypticorn/common/router/admin_router.py,sha256=qtIGJytOq_0YlyZGWvvZ15ymRaDccGsEVwEZ81aNgUk,3388
|
81
81
|
crypticorn/common/router/status_router.py,sha256=922dHfpVM5auOTuNswIhDRmk_1bmU5hH83bxoT70uss,616
|
82
82
|
crypticorn/hive/__init__.py,sha256=hRfTlEzEql4msytdUC_04vfaHzVKG5CGZle1M-9QFgY,81
|
83
83
|
crypticorn/hive/main.py,sha256=UMff7p-1PeNDRGUc_WVlAwRgYevUe2ZnIEPi7GErtVU,2475
|
@@ -234,8 +234,8 @@ crypticorn/trade/client/models/strategy_model_input.py,sha256=ala19jARyfA5ysys5D
|
|
234
234
|
crypticorn/trade/client/models/strategy_model_output.py,sha256=2o2lhbgUSTznowpMLEHF1Ex9TG9oRmzlCIb-gXqo7_s,5643
|
235
235
|
crypticorn/trade/client/models/tpsl.py,sha256=C2KgTIZs-a8W4msdaXgBKJcwtA-o5wR4rBauRP-iQxU,4317
|
236
236
|
crypticorn/trade/client/models/trading_action_type.py,sha256=pGq_TFLMPfYFizYP-xKgEC1ZF4U3lGdJYoGa_ZH2x-Q,769
|
237
|
-
crypticorn-2.8.
|
238
|
-
crypticorn-2.8.
|
239
|
-
crypticorn-2.8.
|
240
|
-
crypticorn-2.8.
|
241
|
-
crypticorn-2.8.
|
237
|
+
crypticorn-2.8.0rc4.dist-info/METADATA,sha256=PBWk-nODkor_054gxc-xrFEGYzBfjpK0fXMnGw1890s,6646
|
238
|
+
crypticorn-2.8.0rc4.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
239
|
+
crypticorn-2.8.0rc4.dist-info/entry_points.txt,sha256=d_xHsGvUTebPveVUK0SrpDFQ5ZRSjlI7lNCc11sn2PM,59
|
240
|
+
crypticorn-2.8.0rc4.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
|
241
|
+
crypticorn-2.8.0rc4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|