pyrogram-client 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.
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/.pre-commit-config.yaml +1 -1
- {pyrogram_client-0.0.2/pyrogram_client.egg-info → pyrogram_client-0.0.3}/PKG-INFO +1 -1
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/client/single.py +3 -1
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3/pyrogram_client.egg-info}/PKG-INFO +1 -1
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/.env.sample +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/.gitignore +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/makefile +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyproject.toml +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/client/base.py +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/client/bot.py +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/client/dc.json +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/client/file.py +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/client/user.py +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/loader.py +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyro_client/storage.py +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyrogram_client.egg-info/SOURCES.txt +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyrogram_client.egg-info/dependency_links.txt +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyrogram_client.egg-info/requires.txt +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyrogram_client.egg-info/top_level.txt +0 -0
- {pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/setup.cfg +0 -0
|
@@ -14,7 +14,7 @@ repos:
|
|
|
14
14
|
- id: build
|
|
15
15
|
name: build
|
|
16
16
|
### build & upload package only for "main" branch push
|
|
17
|
-
entry: bash -c 'echo $PRE_COMMIT_LOCAL_BRANCH | grep /
|
|
17
|
+
entry: bash -c 'echo $PRE_COMMIT_LOCAL_BRANCH | grep /main && make twine || echo 0'
|
|
18
18
|
language: system
|
|
19
19
|
pass_filenames: false
|
|
20
20
|
verbose: true
|
|
@@ -9,13 +9,15 @@ class SingleMeta(type):
|
|
|
9
9
|
|
|
10
10
|
async def __call__(cls, uid: int | str, bot=None):
|
|
11
11
|
if cls not in cls._instances:
|
|
12
|
+
prx = ...
|
|
12
13
|
bt = None
|
|
13
14
|
if isinstance(uid, str):
|
|
14
15
|
if len(ub := uid.split(":")) == 2:
|
|
15
16
|
uid, bt = ub
|
|
17
|
+
prx = None
|
|
16
18
|
if uid.isnumeric():
|
|
17
19
|
uid = int(uid)
|
|
18
|
-
sess = await cls._sess(uid, bt,
|
|
20
|
+
sess = await cls._sess(uid, bt, prx)
|
|
19
21
|
cls._instances[cls] = super().__call__(sess, bot)
|
|
20
22
|
return cls._instances[cls]
|
|
21
23
|
|
|
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
|
{pyrogram_client-0.0.2 → pyrogram_client-0.0.3}/pyrogram_client.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|