pyrogram-client 0.0.4__tar.gz → 0.0.5__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.
Files changed (20) hide show
  1. {pyrogram_client-0.0.4/pyrogram_client.egg-info → pyrogram_client-0.0.5}/PKG-INFO +1 -1
  2. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/client/base.py +3 -1
  3. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5/pyrogram_client.egg-info}/PKG-INFO +1 -1
  4. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/.env.sample +0 -0
  5. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/.gitignore +0 -0
  6. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/.pre-commit-config.yaml +0 -0
  7. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/makefile +0 -0
  8. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyproject.toml +0 -0
  9. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/client/bot.py +0 -0
  10. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/client/dc.json +0 -0
  11. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/client/file.py +0 -0
  12. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/client/single.py +0 -0
  13. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/client/user.py +0 -0
  14. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/loader.py +0 -0
  15. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyro_client/storage.py +0 -0
  16. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyrogram_client.egg-info/SOURCES.txt +0 -0
  17. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyrogram_client.egg-info/dependency_links.txt +0 -0
  18. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyrogram_client.egg-info/requires.txt +0 -0
  19. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/pyrogram_client.egg-info/top_level.txt +0 -0
  20. {pyrogram_client-0.0.4 → pyrogram_client-0.0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrogram-client
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Author-email: Mike Artemiev <mixartemev@gmail.com>
5
5
  Project-URL: Homepage, https://gitlab.com/XyncNet/pyro-client
6
6
  Project-URL: Repository, https://gitlab.com/XyncNet/pyro-client
@@ -25,7 +25,9 @@ class BaseClient(Client, metaclass=SingleMeta):
25
25
  storage: PgStorage
26
26
 
27
27
  def __init__(self, name: str, api_id, api_hash, *args, **kwargs):
28
- super().__init__(name, api_id=api_id, api_hash=api_hash, *args, storage_engine=PgStorage(name), **kwargs)
28
+ super().__init__(
29
+ name, api_id=api_id, api_hash=api_hash, *args, storage_engine=PgStorage(name), workers=1, **kwargs
30
+ )
29
31
 
30
32
  async def send(
31
33
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrogram-client
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Author-email: Mike Artemiev <mixartemev@gmail.com>
5
5
  Project-URL: Homepage, https://gitlab.com/XyncNet/pyro-client
6
6
  Project-URL: Repository, https://gitlab.com/XyncNet/pyro-client