marzban 0.1.3__py3-none-any.whl → 0.1.5__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.
- marzban/__init__.py +1 -1
- marzban/models.py +2 -2
- {marzban-0.1.3.dist-info → marzban-0.1.5.dist-info}/METADATA +1 -1
- marzban-0.1.5.dist-info/RECORD +8 -0
- marzban-0.1.3.dist-info/RECORD +0 -8
- {marzban-0.1.3.dist-info → marzban-0.1.5.dist-info}/LICENSE +0 -0
- {marzban-0.1.3.dist-info → marzban-0.1.5.dist-info}/WHEEL +0 -0
- {marzban-0.1.3.dist-info → marzban-0.1.5.dist-info}/top_level.txt +0 -0
marzban/__init__.py
CHANGED
marzban/models.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
from pydantic import BaseModel
|
2
|
-
from typing import Optional, List, Dict, Any
|
2
|
+
from typing import Optional, List, Dict, Any, ClassVar
|
3
3
|
|
4
4
|
class Token(BaseModel):
|
5
5
|
access_token: str
|
@@ -189,7 +189,7 @@ class UsersResponse(BaseModel):
|
|
189
189
|
total: int
|
190
190
|
|
191
191
|
class UserStatus(BaseModel):
|
192
|
-
enum = ["active", "disabled", "limited", "expired", "on_hold"]
|
192
|
+
enum: ClassVar[List[str]] = ["active", "disabled", "limited", "expired", "on_hold"]
|
193
193
|
|
194
194
|
class ValidationError(BaseModel):
|
195
195
|
loc: List[Any]
|
@@ -0,0 +1,8 @@
|
|
1
|
+
marzban/__init__.py,sha256=8PMEY3g5mvh-KvtrfSZrWbELxTa2_4Fmf0IaS5O6dxY,72
|
2
|
+
marzban/api.py,sha256=kcA60qyG7d1l3lXl5K3MI590DLfLcCi8z42DndwnyDU,12457
|
3
|
+
marzban/models.py,sha256=NgtIYxP6x_07KJLyGkqe8JVdian7OoG3FEk2WbaRhes,4983
|
4
|
+
marzban-0.1.5.dist-info/LICENSE,sha256=e7OchdHfXoz2OZRHj8iltLIKYwdri9J4_9PMEnov418,1061
|
5
|
+
marzban-0.1.5.dist-info/METADATA,sha256=rVm8nfrSIj1DerirhfhdhlDNfVM0sJMYS_-CBioL2eg,1111
|
6
|
+
marzban-0.1.5.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
7
|
+
marzban-0.1.5.dist-info/top_level.txt,sha256=KUmBWzTarBlzw2GZOuk-d-jM2GU4zPWo1iwvW_mXS-c,8
|
8
|
+
marzban-0.1.5.dist-info/RECORD,,
|
marzban-0.1.3.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
marzban/__init__.py,sha256=LGX3cS4tE01rQz0Cs1UKCHKYGe02j9FPrjDU-KxCbJM,72
|
2
|
-
marzban/api.py,sha256=kcA60qyG7d1l3lXl5K3MI590DLfLcCi8z42DndwnyDU,12457
|
3
|
-
marzban/models.py,sha256=7616sr43dn6tODzaT_NBN6WNPap8WXg70TFsgaJNEHs,4952
|
4
|
-
marzban-0.1.3.dist-info/LICENSE,sha256=e7OchdHfXoz2OZRHj8iltLIKYwdri9J4_9PMEnov418,1061
|
5
|
-
marzban-0.1.3.dist-info/METADATA,sha256=_Sa4qTzxayyvUEIsQYfjgJcpVer2RYUqP9t6lO0aSe0,1111
|
6
|
-
marzban-0.1.3.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
7
|
-
marzban-0.1.3.dist-info/top_level.txt,sha256=KUmBWzTarBlzw2GZOuk-d-jM2GU4zPWo1iwvW_mXS-c,8
|
8
|
-
marzban-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|