reyserver 1.1.68__py3-none-any.whl → 1.1.69__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.
Potentially problematic release.
This version of reyserver might be problematic. Click here for more details.
- reyserver/rfile.py +1 -1
- reyserver/rserver.py +4 -3
- {reyserver-1.1.68.dist-info → reyserver-1.1.69.dist-info}/METADATA +1 -1
- {reyserver-1.1.68.dist-info → reyserver-1.1.69.dist-info}/RECORD +6 -6
- {reyserver-1.1.68.dist-info → reyserver-1.1.69.dist-info}/WHEEL +0 -0
- {reyserver-1.1.68.dist-info → reyserver-1.1.69.dist-info}/licenses/LICENSE +0 -0
reyserver/rfile.py
CHANGED
reyserver/rserver.py
CHANGED
|
@@ -23,6 +23,7 @@ from fastapi.middleware.trustedhost import TrustedHostMiddleware
|
|
|
23
23
|
from fastapi.middleware.httpsredirect import HTTPSRedirectMiddleware
|
|
24
24
|
from reydb import DatabaseAsync
|
|
25
25
|
from reykit.rbase import CoroutineFunctionSimple, Singleton, throw
|
|
26
|
+
from reykit.ros import FileStore
|
|
26
27
|
from reykit.rrand import randchar
|
|
27
28
|
|
|
28
29
|
from .rbase import ServerBase, Bind
|
|
@@ -103,8 +104,8 @@ class Server(ServerBase, Singleton):
|
|
|
103
104
|
'Authentication API JWT encryption key.'
|
|
104
105
|
self.api_auth_sess_seconds: int
|
|
105
106
|
'Authentication API session valid seconds.'
|
|
106
|
-
self.
|
|
107
|
-
'File API store
|
|
107
|
+
self.api_file_store: FileStore
|
|
108
|
+
'File API store instance.'
|
|
108
109
|
|
|
109
110
|
# Filter warning.
|
|
110
111
|
self.__filter_warning()
|
|
@@ -400,7 +401,7 @@ class Server(ServerBase, Singleton):
|
|
|
400
401
|
build_db_file(engine)
|
|
401
402
|
|
|
402
403
|
# Add.
|
|
403
|
-
self.
|
|
404
|
+
self.api_file_store = FileStore(file_dir)
|
|
404
405
|
self.app.include_router(router_file, tags=['file'], dependencies=(Bind.token,))
|
|
405
406
|
|
|
406
407
|
|
|
@@ -3,9 +3,9 @@ reyserver/rall.py,sha256=riyDRTUsigco_Bee1H4aZFb8IgvjnxdX9qcnVb9i9mE,270
|
|
|
3
3
|
reyserver/rauth.py,sha256=mqyo5FsN4vdW5GRgvZssWcpfku1Dfo_Md8vvoo8JzhU,15122
|
|
4
4
|
reyserver/rbase.py,sha256=OKXZ_VOfPEVgO3oVn6j-pqHjnIbDL0UoZtp8GcN9hzw,8990
|
|
5
5
|
reyserver/rclient.py,sha256=og5YuWm-PODkFn9njBwYQpGlk0j1BfqFuEarlCFSQYI,6229
|
|
6
|
-
reyserver/rfile.py,sha256=
|
|
7
|
-
reyserver/rserver.py,sha256=
|
|
8
|
-
reyserver-1.1.
|
|
9
|
-
reyserver-1.1.
|
|
10
|
-
reyserver-1.1.
|
|
11
|
-
reyserver-1.1.
|
|
6
|
+
reyserver/rfile.py,sha256=tf3zKuKMXFsKUagiUp6plK5I33fBMjtiarVSKGaAZZo,8868
|
|
7
|
+
reyserver/rserver.py,sha256=V-iZX8JohlJNQ8XwZoT8yoUIMgwNwVW77lBvP_pytpU,11381
|
|
8
|
+
reyserver-1.1.69.dist-info/METADATA,sha256=wulmFjlM7-rSXF7orejZ5AHWRxRsgOJIV_W2uiAkJSc,1666
|
|
9
|
+
reyserver-1.1.69.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
10
|
+
reyserver-1.1.69.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
|
11
|
+
reyserver-1.1.69.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|