- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for immagine (0.29 sec)
-
tests/test_additional_responses_bad.py
openapi_schema = { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { "responses": { # this is how one would imagine the openapi schema to be # but since the key is not valid, openapi.utils.get_openapi will raise ValueError "hello": {"description": "Not a valid additional response"},
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.1K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
## An app with callbacks Let's see all this with an example. Imagine you develop an app that allows creating invoices. These invoices will have an `id`, `title` (optional), `customer`, and `total`. The user of your API (an external developer) will create an invoice in your API with a POST request. Then your API will (let's imagine): * Send the invoice to some customer of the external developer. * Collect the money.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 7.7K bytes - Viewed (0) -
docs_src/openapi_callbacks/tutorial001.py
pass @app.post("/invoices/", callbacks=invoices_callback_router.routes) def create_invoice(invoice: Invoice, callback_url: Union[HttpUrl, None] = None): """ Create an invoice. This will (let's imagine) let the API user (some external developer) create an invoice. And this path operation will: * Send the invoice to the client. * Collect the money from the client.
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1.3K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
## Use Case Let's start with an example **use case** and then see how to solve it with this. Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖 The same models are shared among requests, so, it's not one model per request, or one per user or something similar.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
or even industries — utilities useful for a sizable proportion of all Java programmers everywhere. If you can give enough detail such that any of us can imagine coming across a similar need in our own work, that's extremely helpful in studying how broadly useful the feature will be. - type: textarea attributes: label: Concrete Use Cases
Others - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Viewed (0) -
tests/test_sub_callbacks.py
@subrouter.post("/invoices/", callbacks=invoices_callback_router.routes) def create_invoice(invoice: Invoice, callback_url: Optional[HttpUrl] = None): """ Create an invoice. This will (let's imagine) let the API user (some external developer) create an invoice. And this path operation will: * Send the invoice to the client. * Collect the money from the client.
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 13.8K bytes - Viewed (0) -
docs/en/docs/async.md
**Concurrency** and **parallelism** both relate to "different things happening more or less at the same time". But the details between *concurrency* and *parallelism* are quite different. To see the difference, imagine the following story about burgers: ### Concurrent Burgers You go with your crush to get fast food, you stand in line while the cashier takes the orders from the people in front of you. 😍
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` Let's imagine that you have a database `fake_db` that only receives JSON compatible data. For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 1.8K bytes - Viewed (0) -
docs/pt/docs/python-types.md
```Python hl_lines="2" {!../../../docs_src/python_types/tutorial001.py!} ``` ### Edite-o É um programa muito simples. Mas agora imagine que você estava escrevendo do zero. Em algum momento você teria iniciado a definição da função, já tinha os parâmetros prontos ... Mas então você deve chamar "esse método que converte a primeira letra em maiúscula".
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K bytes - Viewed (0)