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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Python-3xui
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: 3x-ui wrapper for python
5
5
  Project-URL: Homepage, https://github.com/Artem-Potapov/3x-py
6
6
  Project-URL: Issues, https://github.com/Artem-Potapov/3x-py/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "Python-3xui"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  authors = [
5
5
  { name="JustMe_001", email="justme001.causation755@passinbox.com" },
6
6
  ]
@@ -313,7 +313,7 @@ class XUIClient:
313
313
 
314
314
  #========================inbound management========================
315
315
  @alru_cache
316
- async def get_production_inbounds(self) -> List[Inbound]:
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