mirror of
https://github.com/shadoll/scatcher.git
synced 2026-08-28 03:28:03 +00:00
Add schemas
This commit is contained in:
@@ -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