from dataclasses import dataclass from crawler.utils.classes import DataclassBase @dataclass(init=False) class City(DataclassBase): id: int = 0 city: str region_id: int | None region_name: str | None is_byapt: 1 | 0 @dataclass(init=False) class Proxy(DataclassBase): ip: str port: str login: str password: str