- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for imported4 (0.1 sec)
-
docs/pt/docs/tutorial/request-files.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 19:52:32 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/pt/docs/advanced/custom-response.md
Por exemplo, se você precisa bastante de performance, você pode instalar e utilizar o <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> e definir a resposta para ser uma `ORJSONResponse`. Importe a classe, ou subclasse, de `Response` que você deseja utilizar e declare ela no *decorador de operação de rota*. Para respostas grandes, retornar uma `Response` diretamente é muito mais rápido que retornar um dicionário.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 11:47:10 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
We also declare a special parameter of type `SecurityScopes`, imported from `fastapi.security`. This `SecurityScopes` class is similar to `Request` (`Request` was used to get the request object directly). {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 11:02:16 UTC 2024 - 13.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
/// ## Código para conseguir o `username` e a `password` Agora vamos usar os utilitários fornecidos pelo **FastAPI** para lidar com isso. ### `OAuth2PasswordRequestForm` Primeiro, importe `OAuth2PasswordRequestForm` e use-o como uma dependência com `Depends` na *operação de rota* para `/token`: //// tab | Python 3.10+ ```Python hl_lines="4 78" {!> ../../docs_src/security/tutorial003_an_py310.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/iam.go
normKey, origKeys) } if len(origKeys[1:]) > 0 { // Log that extra DN mappings will not be imported. iamLogEvent(ctx, "import-ldap-normalize: extraneous DN mappings found for LDAP DN[%s]: %v will not be imported", origKeys[0], origKeys[1:]) } // Policies mapped to the DN's are the same, so we remove the extra // ones from the map.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* It's mainly syntax sugar, a convenience for developer experience. * Now `Request`, `Response`, `WebSocket`, `status` can be imported directly from `fastapi` as in `from fastapi import Response`. This is because those are frequently used, to use the request directly, to set headers and cookies, to get status codes, etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0)