diff --git a/model.py b/model.py index 85538f9..efb7bbf 100644 --- a/model.py +++ b/model.py @@ -2,7 +2,7 @@ from dataclasses import dataclass from typing import Optional, List, Union, Literal from lib_not_dr.types import Options -from pydantic import BaseModel +from pydantic import BaseModel, Field from socketio import AsyncClient @@ -52,9 +52,9 @@ class Message(Options): class SioConfig(BaseModel): - host: str + host: str = Field(alias='private_key') key: str - self_id: str + self_id: int admin: List[int] validate_host: str client_id: str