marzban 0.1.5__tar.gz → 0.1.7__tar.gz
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-0.1.5 → marzban-0.1.7}/PKG-INFO +1 -1
- {marzban-0.1.5 → marzban-0.1.7}/marzban/__init__.py +1 -1
- {marzban-0.1.5 → marzban-0.1.7}/marzban/models.py +3 -2
- {marzban-0.1.5 → marzban-0.1.7}/marzban.egg-info/PKG-INFO +1 -1
- {marzban-0.1.5 → marzban-0.1.7}/setup.py +1 -1
- {marzban-0.1.5 → marzban-0.1.7}/LICENSE +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/README.md +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/marzban/api.py +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/marzban.egg-info/SOURCES.txt +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/marzban.egg-info/dependency_links.txt +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/marzban.egg-info/requires.txt +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/marzban.egg-info/top_level.txt +0 -0
- {marzban-0.1.5 → marzban-0.1.7}/setup.cfg +0 -0
@@ -37,7 +37,8 @@ class SystemStats(BaseModel):
|
|
37
37
|
outgoing_bandwidth_speed: int
|
38
38
|
|
39
39
|
class ProxySettings(BaseModel):
|
40
|
-
|
40
|
+
id: str
|
41
|
+
flow: Optional[str] = None
|
41
42
|
|
42
43
|
class UserCreate(BaseModel):
|
43
44
|
username: str
|
@@ -138,7 +139,7 @@ class CoreStats(BaseModel):
|
|
138
139
|
|
139
140
|
class UserModify(BaseModel):
|
140
141
|
proxies: Optional[Dict[str, ProxySettings]] = {}
|
141
|
-
expire: Optional[int]
|
142
|
+
expire: Optional[int] = 0
|
142
143
|
data_limit: Optional[int] = 0
|
143
144
|
data_limit_reset_strategy: Optional[str] = "no_reset"
|
144
145
|
inbounds: Optional[Dict[str, List[str]]] = {}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|