更新config文件

This commit is contained in:
San Liy 2023-12-19 01:39:43 +08:00
parent 972191d51d
commit 2055008785

View File

@ -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