Python-3xui 0.0.2__tar.gz → 0.0.3__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.
- {python_3xui-0.0.2 → python_3xui-0.0.3}/PKG-INFO +1 -1
- {python_3xui-0.0.2 → python_3xui-0.0.3}/pyproject.toml +1 -1
- {python_3xui-0.0.2 → python_3xui-0.0.3}/python_3xui/api.py +2 -2
- {python_3xui-0.0.2 → python_3xui-0.0.3}/.gitignore +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/LICENSE +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/README.md +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/python_3xui/__init__.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/python_3xui/base_model.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/python_3xui/endpoints.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/python_3xui/models.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/python_3xui/util.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/conftest.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/gather_response_stubs.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/pytest.ini +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/test_endpoints_clients.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/test_endpoints_inbounds.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/test_non_idempotent_endpoints_clients.py +0 -0
- {python_3xui-0.0.2 → python_3xui-0.0.3}/tests/test_non_idempotent_endpoints_inbounds.py +0 -0
|
@@ -313,7 +313,7 @@ class XUIClient:
|
|
|
313
313
|
|
|
314
314
|
#========================inbound management========================
|
|
315
315
|
@alru_cache
|
|
316
|
-
async def get_production_inbounds(self) ->
|
|
316
|
+
async def get_production_inbounds(self) -> Tuple[Inbound, ...]:
|
|
317
317
|
"""Retrieve production inbounds.
|
|
318
318
|
|
|
319
319
|
This method fetches all inbounds and filters them based on the
|
|
@@ -333,7 +333,7 @@ class XUIClient:
|
|
|
333
333
|
if len(usable_inbounds) == 0:
|
|
334
334
|
raise RuntimeError("No production inbounds found! Change prod_string!")
|
|
335
335
|
|
|
336
|
-
return usable_inbounds
|
|
336
|
+
return tuple(usable_inbounds)
|
|
337
337
|
|
|
338
338
|
async def clear_prod_inbound_cache(self):
|
|
339
339
|
"""Clear the production inbound cache.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|