Spaces:
Sleeping
Sleeping
kltn20133118
commited on
Delete request
Browse files- request/RequestChat.py +0 -17
- request/RequestDefault.py +0 -13
- request/RequestFile.py +0 -19
- request/RequestLogin.py +0 -47
- request/RequestMySQL.py +0 -21
- request/RequestOTP.py +0 -9
- request/__pycache__/RequestChat.cpython-310.pyc +0 -0
- request/__pycache__/RequestChat.cpython-311.pyc +0 -0
- request/__pycache__/RequestDefault.cpython-310.pyc +0 -0
- request/__pycache__/RequestDefault.cpython-311.pyc +0 -0
- request/__pycache__/RequestFile.cpython-310.pyc +0 -0
- request/__pycache__/RequestFile.cpython-311.pyc +0 -0
- request/__pycache__/RequestLogin.cpython-310.pyc +0 -0
- request/__pycache__/RequestLogin.cpython-311.pyc +0 -0
- request/__pycache__/RequestMySQL.cpython-310.pyc +0 -0
- request/__pycache__/RequestMySQL.cpython-311.pyc +0 -0
- request/__pycache__/RequestOTP.cpython-310.pyc +0 -0
- request/__pycache__/RequestOTP.cpython-311.pyc +0 -0
request/RequestChat.py
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
from pydantic import BaseModel
|
2 |
-
from typing import Optional
|
3 |
-
|
4 |
-
class RequestQuery2UpgradeOld(BaseModel):
|
5 |
-
user_id: int
|
6 |
-
text_all: str
|
7 |
-
question: Optional[str]
|
8 |
-
chat_name: Optional[str]
|
9 |
-
|
10 |
-
class RequestExtractFile(BaseModel):
|
11 |
-
user_id: int
|
12 |
-
|
13 |
-
class RequestDeleteChat(BaseModel):
|
14 |
-
user_id: int
|
15 |
-
chat_name: Optional[str]
|
16 |
-
class RequestGenerateQuestion(BaseModel):
|
17 |
-
user_id: int
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request/RequestDefault.py
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
from pydantic import BaseModel, EmailStr
|
2 |
-
from typing import Optional, List
|
3 |
-
from fastapi import UploadFile
|
4 |
-
class RequestCreateFireBaseUserGoogle(BaseModel):
|
5 |
-
email: Optional[str] = None
|
6 |
-
class RequestInfoUser(BaseModel):
|
7 |
-
user_id: str
|
8 |
-
class RequestIsMe(BaseModel):
|
9 |
-
token: Optional[str]
|
10 |
-
|
11 |
-
class RequestUpLoadImage(BaseModel):
|
12 |
-
user_id: Optional[str]
|
13 |
-
files: UploadFile = None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request/RequestFile.py
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
from pydantic import BaseModel
|
2 |
-
from typing import List, Optional
|
3 |
-
from fastapi import UploadFile
|
4 |
-
class RequestGetNameFile(BaseModel):
|
5 |
-
user_id: Optional[str]
|
6 |
-
class RequestDeleteFile(BaseModel):
|
7 |
-
user_id: Optional[str]
|
8 |
-
name_file: Optional[str]
|
9 |
-
class RequestDeleteAllFile(BaseModel):
|
10 |
-
user_id: Optional[str]
|
11 |
-
class RequestDownLoadFolder(BaseModel):
|
12 |
-
user_id: Optional[str]
|
13 |
-
|
14 |
-
class RequestDownLoadFile(BaseModel):
|
15 |
-
user_id: Optional[str]
|
16 |
-
name_file: Optional[str]
|
17 |
-
class RequestUploadFile(BaseModel):
|
18 |
-
files: Optional[List[UploadFile]] = None
|
19 |
-
user_id: Optional[str]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request/RequestLogin.py
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
from pydantic import BaseModel
|
2 |
-
from typing import Optional
|
3 |
-
class RequestLoginEmail(BaseModel):
|
4 |
-
email: Optional[str]
|
5 |
-
password: Optional[str]
|
6 |
-
|
7 |
-
class RequestLoginGoogle(BaseModel):
|
8 |
-
email: Optional[str]
|
9 |
-
token_google: Optional[str]
|
10 |
-
class RequestUpdateUserInfo(BaseModel):
|
11 |
-
user_id: Optional[str]
|
12 |
-
uid: Optional[str]
|
13 |
-
email: Optional[str]
|
14 |
-
display_name: Optional[str]
|
15 |
-
photo_url: Optional[str]
|
16 |
-
|
17 |
-
class RequestCheckInfoGoogle(BaseModel):
|
18 |
-
user_id: int
|
19 |
-
class RequestCheckInfoGoogleEmail(BaseModel):
|
20 |
-
email:Optional[str]
|
21 |
-
class RequestCreateOTP(BaseModel):
|
22 |
-
email: Optional[str]
|
23 |
-
|
24 |
-
class RequestVerifyOTP(BaseModel):
|
25 |
-
email: Optional[str]
|
26 |
-
otp: Optional[str]
|
27 |
-
|
28 |
-
class RequestCheckStateLogin(BaseModel):
|
29 |
-
user_id: Optional[int]
|
30 |
-
session_id_now: Optional[str]
|
31 |
-
|
32 |
-
class RequestSignUp(BaseModel):
|
33 |
-
email: Optional[str]
|
34 |
-
password: Optional[str]
|
35 |
-
username: Optional[str]
|
36 |
-
|
37 |
-
class RequestResetPassword(BaseModel):
|
38 |
-
email: Optional[str]
|
39 |
-
|
40 |
-
class RequestChangePassword(BaseModel):
|
41 |
-
user_id: Optional[str]
|
42 |
-
new_password: Optional[str]
|
43 |
-
current_password: Optional[str]
|
44 |
-
|
45 |
-
class RequestRefreshTokenLogin(BaseModel):
|
46 |
-
user_id: Optional[str]
|
47 |
-
token: Optional[str]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request/RequestMySQL.py
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
from pydantic import BaseModel
|
2 |
-
from typing import Optional
|
3 |
-
|
4 |
-
class RequestRenderChatHistory(BaseModel):
|
5 |
-
user_id: Optional[int]
|
6 |
-
|
7 |
-
class RequestLoadChatHistory(BaseModel):
|
8 |
-
user_id: Optional[int]
|
9 |
-
chat_id: Optional[int]
|
10 |
-
|
11 |
-
class RequestGetChatDetails(BaseModel):
|
12 |
-
id: Optional[str]
|
13 |
-
|
14 |
-
class RequestEditNameChat(BaseModel):
|
15 |
-
user_id: Optional[str]
|
16 |
-
name_old: Optional[str]
|
17 |
-
name_new: Optional[str]
|
18 |
-
|
19 |
-
class RequestDeleteChat(BaseModel):
|
20 |
-
user_id: Optional[str]
|
21 |
-
chat_name: Optional[str]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request/RequestOTP.py
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
from pydantic import BaseModel
|
2 |
-
from typing import Optional
|
3 |
-
|
4 |
-
class RequestCreateOTP(BaseModel):
|
5 |
-
email: Optional[str]
|
6 |
-
|
7 |
-
class RequestVerifyOTP(BaseModel):
|
8 |
-
email: Optional[str]
|
9 |
-
otp: Optional[str]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request/__pycache__/RequestChat.cpython-310.pyc
DELETED
Binary file (1.03 kB)
|
|
request/__pycache__/RequestChat.cpython-311.pyc
DELETED
Binary file (1.48 kB)
|
|
request/__pycache__/RequestDefault.cpython-310.pyc
DELETED
Binary file (1.12 kB)
|
|
request/__pycache__/RequestDefault.cpython-311.pyc
DELETED
Binary file (1.58 kB)
|
|
request/__pycache__/RequestFile.cpython-310.pyc
DELETED
Binary file (1.3 kB)
|
|
request/__pycache__/RequestFile.cpython-311.pyc
DELETED
Binary file (2.02 kB)
|
|
request/__pycache__/RequestLogin.cpython-310.pyc
DELETED
Binary file (2.29 kB)
|
|
request/__pycache__/RequestLogin.cpython-311.pyc
DELETED
Binary file (4 kB)
|
|
request/__pycache__/RequestMySQL.cpython-310.pyc
DELETED
Binary file (1.14 kB)
|
|
request/__pycache__/RequestMySQL.cpython-311.pyc
DELETED
Binary file (1.83 kB)
|
|
request/__pycache__/RequestOTP.cpython-310.pyc
DELETED
Binary file (621 Bytes)
|
|
request/__pycache__/RequestOTP.cpython-311.pyc
DELETED
Binary file (885 Bytes)
|
|