From 7e413e4ee253c5b68d4020f79e8ff21413e1e807 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 17 Mar 2024 13:17:03 +0100 Subject: [PATCH] Rename packed file to peer_ref --- client/src/telethon/_impl/session/chat/__init__.py | 2 +- client/src/telethon/_impl/session/chat/hash_cache.py | 2 +- .../src/telethon/_impl/session/chat/{packed.py => peer_ref.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename client/src/telethon/_impl/session/chat/{packed.py => peer_ref.py} (100%) diff --git a/client/src/telethon/_impl/session/chat/__init__.py b/client/src/telethon/_impl/session/chat/__init__.py index 5d6f93d6..0b4b1fe2 100644 --- a/client/src/telethon/_impl/session/chat/__init__.py +++ b/client/src/telethon/_impl/session/chat/__init__.py @@ -1,4 +1,4 @@ from .hash_cache import ChatHashCache -from .packed import PackedChat, PackedType +from .peer_ref import PackedChat, PackedType __all__ = ["ChatHashCache", "PackedChat", "PackedType"] diff --git a/client/src/telethon/_impl/session/chat/hash_cache.py b/client/src/telethon/_impl/session/chat/hash_cache.py index 40612c9e..ffe91e45 100644 --- a/client/src/telethon/_impl/session/chat/hash_cache.py +++ b/client/src/telethon/_impl/session/chat/hash_cache.py @@ -1,7 +1,7 @@ from typing import Any, Optional, Sequence from ...tl import abcs, types -from .packed import PackedChat, PackedType +from .peer_ref import PackedChat, PackedType class ChatHashCache: diff --git a/client/src/telethon/_impl/session/chat/packed.py b/client/src/telethon/_impl/session/chat/peer_ref.py similarity index 100% rename from client/src/telethon/_impl/session/chat/packed.py rename to client/src/telethon/_impl/session/chat/peer_ref.py