mirror of
https://github.com/shadoll/scatcher.git
synced 2026-02-04 11:03:23 +00:00
Add schemas
This commit is contained in:
10
schema/request_data.py
Normal file
10
schema/request_data.py
Normal 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
|
||||
Reference in New Issue
Block a user