mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 04:25:38 +01:00
Migrate to ruff
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import abc
|
||||
from typing import AsyncIterator, Union, Optional
|
||||
from typing import AsyncIterator, Optional, Union
|
||||
|
||||
import telethon.client
|
||||
import telethon.errors
|
||||
@@ -9,7 +8,7 @@ import telethon.tl.types
|
||||
from core.config import env_config
|
||||
|
||||
|
||||
class BaseStorage(abc.ABC):
|
||||
class BaseStorage:
|
||||
def __init__(
|
||||
self, channel_id: Union[str, int], app_id: int, api_hash: str, session: str
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user