mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 21:20:22 +03:00
Format imports
This commit is contained in:
parent
5e8e718777
commit
41b848db38
|
@ -2,6 +2,7 @@ import struct
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from pytest import raises
|
from pytest import raises
|
||||||
|
|
||||||
from telethon._impl.crypto import AuthKey
|
from telethon._impl.crypto import AuthKey
|
||||||
from telethon._impl.mtproto import Encrypted, Plain, RpcError
|
from telethon._impl.mtproto import Encrypted, Plain, RpcError
|
||||||
from telethon._impl.mtproto.mtp.types import MsgId
|
from telethon._impl.mtproto.mtp.types import MsgId
|
||||||
|
|
|
@ -2,6 +2,7 @@ import asyncio
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from pytest import LogCaptureFixture, mark
|
from pytest import LogCaptureFixture, mark
|
||||||
|
|
||||||
from telethon._impl.mtproto import Full
|
from telethon._impl.mtproto import Full
|
||||||
from telethon._impl.mtsender import connect
|
from telethon._impl.mtsender import connect
|
||||||
from telethon._impl.tl import LAYER, abcs, functions, types
|
from telethon._impl.tl import LAYER, abcs, functions, types
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
from pytest import raises
|
from pytest import raises
|
||||||
|
|
||||||
from telethon._impl.session import ChannelRef, GroupRef, PeerRef, UserRef
|
from telethon._impl.session import ChannelRef, GroupRef, PeerRef, UserRef
|
||||||
|
|
||||||
USER = UserRef(12, 34)
|
USER = UserRef(12, 34)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
from pytest import mark
|
from pytest import mark
|
||||||
|
|
||||||
from telethon._impl.tl.core import Reader, Serializable
|
from telethon._impl.tl.core import Reader, Serializable
|
||||||
from telethon._impl.tl.mtproto.types import BadServerSalt
|
from telethon._impl.tl.mtproto.types import BadServerSalt
|
||||||
from telethon._impl.tl.types import GeoPoint
|
from telethon._impl.tl.types import GeoPoint
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from rsa import PublicKey
|
from rsa import PublicKey
|
||||||
|
|
||||||
from telethon._impl.crypto.rsa import (
|
from telethon._impl.crypto.rsa import (
|
||||||
PRODUCTION_RSA_KEY,
|
PRODUCTION_RSA_KEY,
|
||||||
TESTMODE_RSA_KEY,
|
TESTMODE_RSA_KEY,
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import mark
|
from pytest import mark
|
||||||
|
|
||||||
from telethon._impl.tl.core import serialize_bytes_to
|
from telethon._impl.tl.core import serialize_bytes_to
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import raises
|
from pytest import raises
|
||||||
|
|
||||||
from telethon._impl.mtproto import Abridged
|
from telethon._impl.mtproto import Abridged
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import raises
|
from pytest import raises
|
||||||
|
|
||||||
from telethon._impl.mtproto import Full
|
from telethon._impl.mtproto import Full
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import raises
|
from pytest import raises
|
||||||
|
|
||||||
from telethon._impl.mtproto import Intermediate
|
from telethon._impl.mtproto import Intermediate
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import mark, raises
|
from pytest import mark, raises
|
||||||
|
|
||||||
from telethon._impl.crypto.two_factor_auth import (
|
from telethon._impl.crypto.two_factor_auth import (
|
||||||
calculate_2fa,
|
calculate_2fa,
|
||||||
check_p_prime_and_subgroup,
|
check_p_prime_and_subgroup,
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import mark
|
from pytest import mark
|
||||||
|
|
||||||
from telethon._impl.client.types import AdminRight
|
from telethon._impl.client.types import AdminRight
|
||||||
from telethon._impl.tl import types
|
from telethon._impl.tl import types
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import mark
|
from pytest import mark
|
||||||
|
|
||||||
from telethon_generator._impl.codegen.serde.common import (
|
from telethon_generator._impl.codegen.serde.common import (
|
||||||
split_words,
|
split_words,
|
||||||
to_class_name,
|
to_class_name,
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import mark, raises
|
from pytest import mark, raises
|
||||||
|
|
||||||
from telethon_generator.tl_parser import (
|
from telethon_generator.tl_parser import (
|
||||||
Definition,
|
Definition,
|
||||||
Flag,
|
Flag,
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import mark, raises
|
from pytest import mark, raises
|
||||||
|
|
||||||
from telethon_generator.tl_parser import (
|
from telethon_generator.tl_parser import (
|
||||||
Flag,
|
Flag,
|
||||||
FlagsParameter,
|
FlagsParameter,
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
from pytest import raises
|
from pytest import raises
|
||||||
|
|
||||||
from telethon_generator.tl_parser import FunctionDef, TypeDef, parse_tl_file
|
from telethon_generator.tl_parser import FunctionDef, TypeDef, parse_tl_file
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from pytest import mark, raises
|
from pytest import mark, raises
|
||||||
|
|
||||||
from telethon_generator.tl_parser import Type
|
from telethon_generator.tl_parser import Type
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user