15 lines
303 B
Python
15 lines
303 B
Python
|
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
|