- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Slot (0.01 sec)
-
docs/en/docs/project-generation.md
You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 08 13:04:54 UTC 2025 - 2K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-webhooks.md
With **FastAPI**, using OpenAPI, you can define the names of these webhooks, the types of HTTP operations that your app can send (e.g. `POST`, `PUT`, etc.) and the request **bodies** that your app would send. This can make it a lot easier for your users to **implement their APIs** to receive your **webhook** requests, they might even be able to autogenerate some of their own API code. /// info
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
/// And when you return a `Response`, **FastAPI** will pass it directly. It won't do any data conversion with Pydantic models, it won't convert the contents to any type, etc. This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc. ## Using the `jsonable_encoder` in a `Response` { #using-the-jsonable-encoder-in-a-response }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/en/docs/python-types.md
In Python 3.10, as an alternative to using the generics `Union` and `Optional`, you can use the <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</abbr> to declare unions of types, that's a lot better and simpler. //// //// tab | Python 3.9+ You can use the same builtin types as generics (with square brackets and types inside): * `list` * `tuple` * `set` * `dict`
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
## Accessing the request body in an exception handler { #accessing-the-request-body-in-an-exception-handler } /// tip To solve this same problem, it's probably a lot easier to use the `body` in a custom handler for `RequestValidationError` ([Handling Errors](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} But then we get a `dict` in the parameter `commons` of the *path operation function*. And we know that editors can't provide a lot of support (like completion) for `dict`s, because they can't know their keys and value types. We can do better... ## What makes a dependency { #what-makes-a-dependency }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc. And these models are all sharing a lot of the data and duplicating attribute names and types. We could do better.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
## Documenting the callback { #documenting-the-callback } The actual callback code will depend heavily on your own API app. And it will probably vary a lot from one app to the next. It could be just one or two lines of code, like: ```Python callback_url = "https://example.com/api/v1/invoices/events/"Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 8K bytes - Viewed (0) -
docs/en/docs/management-tasks.md
Here are the general instructions for the tasks you can perform. Thanks a lot for your help. 🙇 ## Be Nice First of all, be nice. 😊 You probably are super nice if you were added to the team, but it's worth mentioning it. 🤓 ### When Things are Difficult
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.2K bytes - Viewed (0)