Add schemas

This commit is contained in:
sHa
2024-03-22 00:49:17 +02:00
parent ca6c933fd9
commit 6b80e1a383
5 changed files with 93 additions and 0 deletions

10
schema/request_data.py Normal file
View File

@@ -0,0 +1,10 @@
from pydantic import BaseModel
from schema.methods import Methods
class RequestData(BaseModel):
data: dict
method: Methods = Methods.GET
url: str
headers: dict
time: str