- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for makes (0.21 sec)
-
docs/en/docs/advanced/middleware.md
```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares to handle server errors and custom exception handlers work properly. For that, you use `app.add_middleware()` (as in the example for CORS). ```Python from fastapi import FastAPI
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 10 18:27:10 GMT 2023 - 4K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
If there's a security flaw in your code, it will still exist.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 2.3K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
## Hypercorn with Trio
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
``` . ├── app # "app" is a Python package │ ├── __init__.py # this file makes "app" a "Python package" │ ├── main.py # "main" module, e.g. import app.main │ ├── dependencies.py # "dependencies" module, e.g. import app.dependencies │ └── routers # "routers" is a "Python subpackage" │ │ ├── __init__.py # makes "routers" a "Python subpackage"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/contributing.md
Make sure you have the latest pip version on your local environment to avoid errors on the next steps: <div class="termy"> ```console $ python -m pip install --upgrade pip ---> 100% ``` </div> !!! tip Every time you install a new package with `pip` under that environment, activate the environment again.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/async.md
> Modern versions of Python have support for **"asynchronous code"** using something called **"coroutines"**, with **`async` and `await`** syntax. That should make more sense now. ✨ All that is what powers FastAPI (through Starlette) and what makes it have such an impressive performance. ## Very Technical Details !!! warning You can probably skip this.
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/alternatives.md
### <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> Pydantic is a library to define data validation, serialization and documentation (using JSON Schema) based on Python type hints. That makes it extremely intuitive. It is comparable to Marshmallow. Although it's faster than Marshmallow in benchmarks. And as it is based on the same Python type hints, the editor support is great. !!! check "**FastAPI** uses it to"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
I'll give you more concrete examples in the next chapters. ## Restarts Similar to making sure your application is run on startup, you probably also want to make sure it is **restarted** after failures. ### We Make Mistakes We, as humans, make **mistakes**, all the time. Software almost *always* has **bugs** hidden in different places. 🐛
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/tutorial/security/index.md
## OpenAPI OpenAPI (previously known as Swagger) is the open specification for building APIs (now part of the Linux Foundation). **FastAPI** is based on **OpenAPI**. That's what makes it possible to have multiple automatic interactive documentation interfaces, code generation, etc. OpenAPI has a way to define multiple security "schemes".
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
{!> ../../../docs_src/query_params_str_validations/tutorial005.py!} ``` !!! note Having a default value of any type, including `None`, makes the parameter optional (not required). ## Make it required When we don't need to declare more validations or metadata, we can make the `q` query parameter required just by not declaring a default value, like: ```Python q: str ``` instead of: ```Python
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0)