Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 2, 2023
1 parent a540518 commit c0508d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions robyn/robyn.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Url:
host (str): The host of the url. e.g. localhost,
path (str): The path of the url. e.g. /user
"""

scheme: str
host: str
path: str
Expand All @@ -41,6 +42,7 @@ class Request:
body (Union[str, bytes]): The body of the request. If the request is a JSON, it will be a dict.
method (str): The method of the request. e.g. GET, POST, PUT, DELETE
"""

queries: dict[str, str]
headers: dict[str, str]
params: dict[str, str]
Expand All @@ -60,6 +62,7 @@ class Response:
body (Union[str, bytes]): The body of the response. If the response is a JSON, it will be a dict.
file_path (str): The file path of the response. e.g. /home/user/file.txt
"""

status_code: int
response_type: str
headers: dict[str, str]
Expand Down

0 comments on commit c0508d5

Please sign in to comment.