- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for WHAT (0.17 sec)
-
docs/en/docs/tutorial/index.md
It is also built to work as a future reference. So you can come back and see exactly what you need. ## Run the code All the code blocks can be copied and used directly (they are actually tested Python files). To run any of the examples, copy the code to a file `main.py`, and start `uvicorn` with:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 2.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
Let's use the tools provided by **FastAPI** to handle security. ## How it looks Let's first just use the code and see how it works, and then we'll come back to understand what's happening. ## Create `main.py` Copy the example in a file `main.py`: === "Python 3.9+" ```Python {!> ../../../docs_src/security/tutorial001_an_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
``` The last `CommonQueryParams`, in: ```Python ... Depends(CommonQueryParams) ``` ...is what **FastAPI** will actually use to know what is the dependency. From it is that FastAPI will extract the declared parameters and that is what FastAPI will actually call. --- In this case, the first `CommonQueryParams`, in: === "Python 3.8+" ```Python
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.4K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
## Program and Process We will talk a lot about the running "**process**", so it's useful to have clarity about what it means, and what's the difference with the word "**program**". ### What is a Program The word **program** is commonly used to describe many things: * The **code** that you write, the **Python files**.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
Next, we create a custom subclass of `fastapi.routing.APIRoute` that will make use of the `GzipRequest`. This time, it will overwrite the method `APIRoute.get_route_handler()`. This method returns a function. And that function is what will receive a request and return a response. Here we use it to create a `GzipRequest` from the original request. ```Python hl_lines="18-26" {!../../../docs_src/custom_request_and_route/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
After this, the client and the server have an **encrypted TCP connection**, this is what TLS provides. And then they can use that connection to start the actual **HTTP communication**. And that's what **HTTPS** is, it's just plain **HTTP** inside a **secure TLS connection** instead of a pure (unencrypted) TCP connection. !!! tip
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 12K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/config.yml
- name: Feature Request about: To suggest an idea or ask about a feature, please start with a question saying what you would like to achieve. There might be a way to do it already. url: https://github.com/tiangolo/fastapi/discussions/categories/questions - name: Show and tell about: Show what you built with FastAPI or to be used with FastAPI. url: https://github.com/tiangolo/fastapi/discussions/categories/show-and-tell
Others - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 31 14:02:52 GMT 2023 - 930 bytes - Viewed (0) -
docs/en/docs/advanced/events.md
That's what we'll solve, let's load the model before the requests are handled, but only right before the application starts receiving requests, not while the code is being loaded. ## Lifespan You can define this *startup* and *shutdown* logic using the `lifespan` parameter of the `FastAPI` app, and a "context manager" (I'll show you what that is in a second).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/deployment/index.md
# Deployment Deploying a **FastAPI** application is relatively easy. ## What Does Deployment Mean To **deploy** an application means to perform the necessary steps to make it **available to the users**. For a **web API**, it normally involves putting it in a **remote machine**, with a **server program** that provides good performance, stability, etc, so that your **users** can **access** the application efficiently and without interruptions or problems.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 1.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
Only the code prior to and including the `yield` statement is executed before creating a response: ```Python hl_lines="2-4" {!../../../docs_src/dependencies/tutorial007.py!} ``` The yielded value is what is injected into *path operations* and other dependencies: ```Python hl_lines="4" {!../../../docs_src/dependencies/tutorial007.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 14.1K bytes - Viewed (0)