- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for berate (0.17 sec)
-
docs/en/docs/tutorial/first-steps.md
### Step 2: create a `FastAPI` "instance" ```Python hl_lines="3" {!../../../docs_src/first_steps/tutorial001.py!} ``` Here the `app` variable will be an "instance" of the class `FastAPI`. This will be the main point of interaction to create all your API. ### Step 3: create a *path operation* #### Path
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
Right as we wanted it. ✔️ This is because FastAPI uses this `root_path` to create the default `server` in OpenAPI with the URL provided by `root_path`. ## Additional servers !!! warning This is a more advanced use case. Feel free to skip it. By default, **FastAPI** will create a `server` in the OpenAPI schema with the URL for the `root_path`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/en/docs/deployment/concepts.md
--- Now that we know the difference between the terms **process** and **program**, let's continue talking about deployments. ## Running on Startup
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/en/docs/advanced/openapi-callbacks.md
### Create a callback `APIRouter` First create a new `APIRouter` that will contain one or more callbacks. ```Python hl_lines="3 25" {!../../../docs_src/openapi_callbacks/tutorial001.py!} ``` ### Create the callback *path operation* To create the callback *path operation* use the same `APIRouter` you created above.
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/en/docs/advanced/websockets.md
But it's the simplest way to focus on the server-side of WebSockets and have a working example: ```Python hl_lines="2 6-38 41-43" {!../../../docs_src/websockets/tutorial001.py!} ``` ## Create a `websocket` In your **FastAPI** application, create a `websocket`: ```Python hl_lines="1 46-47" {!../../../docs_src/websockets/tutorial001.py!} ``` !!! note "Technical Details"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-webhooks.md
!!! info Webhooks are available in OpenAPI 3.1.0 and above, supported by FastAPI `0.99.0` and above. ## An app with webhooks When you create a **FastAPI** application, there is a `webhooks` attribute that you can use to define *webhooks*, the same way you would define *path operations*, for example with `@app.webhooks.post()`. ```Python hl_lines="9-13 36-53"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/features.md
### Unlimited "plug-ins" Or in other way, no need for them, import and use the code you need. Any integration is designed to be so simple to use (with dependencies) that you can create a "plug-in" for your application in 2 lines of code using the same structure and syntax used for your *path operations*. ### Tested * 100% <abbr title="The amount of code that is automatically tested">test coverage</abbr>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.3K bytes - Viewed (0) -
README.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 22.6K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
You can also create an environment variable only for a specific program invocation, that is only available to that program, and only for its duration. To do that, create it right before the program itself, on the same line: <div class="termy"> ```console // Create an env var MY_NAME in line for this program call $ MY_NAME="Wade Wilson" python main.py
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 15.7K bytes - Viewed (0)