mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 03:26:59 +00:00
15 lines
312 B
Python
15 lines
312 B
Python
from pydantic import BaseModel
|
|
from schema.methods import Methods
|
|
|
|
|
|
class RequestData(BaseModel):
|
|
method: Methods = Methods.GET
|
|
data: dict | None = None
|
|
params: dict = {}
|
|
form: dict | None = None
|
|
url: str
|
|
headers: dict = {}
|
|
cookies: dict = {}
|
|
http_version: str = ""
|
|
time: str
|