- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 47 for Case (0.14 sec)
-
docs/en/docs/tutorial/security/simple-oauth2.md
Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header. In the case of bearer tokens (our case), the value of that header should be `Bearer`. You can actually skip that extra header and it would still work. But it's provided here to be compliant with the specifications.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
``` === "Python 3.8+" ```Python hl_lines="9" {!> ../../../docs_src/query_params_str_validations/tutorial002.py!} ```
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) -
docs/en/docs/advanced/settings.md
!!! tip If you want something quick to copy and paste, don't use this example, use the last one below. Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`.
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) -
docs/en/docs/deployment/docker.md
In this case, if you had **multiple containers**, by default, when Prometheus came to **read the metrics**, it would get the ones for **a single container each time** (for the container that handled that particular request), instead of getting the **accumulated metrics** for all the replicated containers.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
``` ### โ `Base` ๐ ๐ ๐ฅ ๐ โ๏ธ ๐ข `declarative_base()` ๐ ๐จ ๐. โช ๐ฅ ๐ ๐ โช๏ธโก๏ธ ๐ ๐ โ ๐ ๐ฝ ๐ท โ๏ธ ๐ (๐ ๐ท): ```Python hl_lines="13" {!../../../docs_src/sql_databases/sql_app/database.py!} ``` ## โ ๐ฝ ๐ท โก๏ธ ๐ ๐ ๐ `sql_app/models.py`. ### โ ๐ธ๐ฒ ๐ท โช๏ธโก๏ธ `Base` ๐ ๐ฅ ๐ โ๏ธ ๐ `Base` ๐ ๐ฅ โ โญ โ ๐ธ๐ฒ ๐ท. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 25.2K bytes - Viewed (1) -
.github/actions/people/app/main.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 17:38:21 GMT 2024 - 19.2K bytes - Viewed (1) -
docs/ja/docs/tutorial/security/first-steps.md
!!! info "ๆ่ก่ฉณ็ดฐ" **FastAPI**ใฏใ`OAuth2PasswordBearer` ใฏใฉใน (ไพๅญ้ขไฟใงๅฎฃ่จใใใฆใใ) ใไฝฟ็จใใฆOpenAPIใฎใปใญใฅใชใใฃในใญใผใ ใๅฎ็พฉใงใใใใจใ็ฅใฃใฆใใพใใใใใฏ`fastapi.security.oauth2.OAuth2`ใ`fastapi.security.base.SecurityBase`ใ็ถๆฟใใฆใใใใใงใใ OpenAPIใจ็ตฑๅใใใปใญใฅใชใใฃใฆใผใใฃใชใใฃ (ใใใณ่ชๅAPIใใญใฅใกใณใ) ใฏใในใฆ`SecurityBase`ใ็ถๆฟใใฆใใพใใใใใซใใใ**FastAPI**ใฏใใใใOpenAPIใซ็ตฑๅใใๆนๆณใ็ฅใใใจใใงใใพใใ ## ใฉใฎใใใซๅไฝใใใ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/pt/docs/deployment.md
``` #### Raspberry Pi e outras arquiteturas Se vocรช estiver rodando Docker em um Raspberry Pi (que possui um processador ARM) ou qualquer outra arquitetura, vocรช pode criar um `Dockerfile` do zero, baseado em uma imagem base Python (que รฉ multi-arquitetural) e utilizar Uvicorn sozinho. Nesse caso, seu `Dockerfile` poderia parecer assim: ```Dockerfile FROM python:3.7 RUN pip install fastapi uvicorn EXPOSE 80
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 18 16:16:54 GMT 2022 - 16.8K bytes - Viewed (0) -
docs/en/docs/async.md
--- If you are using a third party library that communicates with something (a database, an API, the file system, etc.) and doesn't have support for using `await`, (this is currently the case for most database libraries), then declare your *path operation functions* as normally, with just `def`, like: ```Python hl_lines="2" @app.get('/') def results(): results = some_library() return results ```
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/advanced/security/oauth2-scopes.md
In this case, we pass a dependency function `get_current_active_user` to `Security` (the same way we would do with `Depends`). But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0)