stolichki/crawler/types.py

15 lines
303 B
Python
Raw Normal View History

2024-01-03 14:34:15 +10:00
from dataclasses import dataclass
from utils.classes import DataclassBase
@dataclass(init=False)
class City(DataclassBase):
city: str
region_id: int | None
region_name: str | None
@dataclass(init=False)
class Proxy(DataclassBase):
ip: str
port: str
login: str
password: str