fix(models): Add missing imports and AuthModel to itm.py
Added pydantic BaseModel import, typing Any, and AuthModel class for authentication support
This commit is contained in:
1 parent
3b39701453
commit
614cfa8549
1 file changed
+9
@@ -1,3 +1,12 @@
|
|||||||
|
from pydantic import BaseModel
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
class AuthModel(BaseModel):
|
||||||
|
type: str = "none"
|
||||||
|
credentials: dict[str, str] = {}
|
||||||
|
|
||||||
|
|
||||||
class RequestModel(BaseModel):
|
class RequestModel(BaseModel):
|
||||||
method: str = "GET"
|
method: str = "GET"
|
||||||
path: str = "/"
|
path: str = "/"
|
||||||
|
|||||||
Reference in new issue
Block a user