Fixes
This commit is contained in:
1 parent
dbed39ee3a
commit
3dcd4173c2
5 files changed
+40
-12
No files matched your search
@@ -0,0 +1,16 @@
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
|
||||
class MinecraftUserPublic(BaseModel):
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
uuid: str
|
||||
username: str
|
||||
|
||||
|
||||
class UserPublic(BaseModel):
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
internal_username: str
|
||||
admin: bool
|
||||
minecraft_user: MinecraftUserPublic
|
||||
Reference in new issue
Block a user