Skip to content

Commit

Permalink
chore: fix the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Jan 11, 2025
1 parent 46d6521 commit d671d1e
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ Batman was curious about how to access path parameters and query parameters from
<CodeGroup title="Request" tag="GET" label="/split_request_params">

```python
from robyn.robyn import QueryParams, Headers
from robyn.types import PathParams, RequestMethod, RequestBody, RequestURL
from robyn import QueryParams, Headers, PathParams, Method, Body, URL

@app.get("/untyped/query_params")
def untyped_basic(query_params):
Expand All @@ -346,9 +345,9 @@ Batman was curious about how to access path parameters and query parameters from
@app.post("/typed_untyped/combined")
def typed_untyped_combined(
query_params,
method_data: RequestMethod,
body_data: RequestBody,
url: RequestURL,
method_data: Method,
body_data: Body,
url: URL,
headers_item: Headers,
):
return {
Expand All @@ -364,7 +363,7 @@ Batman was curious about how to access path parameters and query parameters from
</Col>
</Row>

Type Aliases: `Request`, `QueryParams`, `Headers`, `PathParams`, `RequestBody`, `RequestMethod`, `RequestURL`, `FormData`, `RequestFiles`, `RequestIP`, `RequestIdentity`
Type Aliases: `Request`, `QueryParams`, `Headers`, `PathParams`, `Body`, `URL`, `FormData`, `Files`, `IPAddress`, `Identity`

Reserved Names: `r`, `req`, `request`, `query_params`, `headers`, `path_params`, `body`, `method`, `url`, `ip_addr`, `identity`, `form_data`, `files`

Expand Down

0 comments on commit d671d1e

Please sign in to comment.