更新config文件
This commit is contained in:
parent
972191d51d
commit
2055008785
6
model.py
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user