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