- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 192 for rica (0.03 seconds)
-
docs/uk/docs/tutorial/query-params-str-validations.md
```Python q: Annotated[str, Query(default="rick")] = "morty" ``` ...тому, що не зрозуміло, яке значення має бути значенням за замовчуванням: `"rick"` чи `"morty"`. Тож ви будете використовувати (бажано): ```Python q: Annotated[str, Query()] = "rick" ``` ...або у старих кодових базах ви знайдете: ```Python q: str = Query(default="rick") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 25.9K bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_py310.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun":
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 694 bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002b_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 323 bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_an_py310.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 734 bytes - Click Count (0) -
docs_src/dependencies/tutorial012_an_py310.py
@app.get("/items/") async def read_items(): return [{"item": "Portal Gun"}, {"item": "Plumbus"}] @app.get("/users/") async def read_users():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 746 bytes - Click Count (0) -
docs/pt/docs/tutorial/security/index.md
Não é muito popular ou usado nos dias atuais. OAuth2 não especifica como criptografar a comunicação, ele espera que você tenha sua aplicação em um servidor HTTPS. /// tip | Dica Na seção sobre **deployment** você irá ver como configurar HTTPS de modo gratuito, usando Traefik e Let’s Encrypt. /// ## OpenID Connect { #openid-connect }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/pt/docs/advanced/security/index.md
## Funcionalidades Adicionais { #additional-features } Existem algumas funcionalidades adicionais para lidar com segurança além das cobertas em [Tutorial - Guia de Usuário: Segurança](../../tutorial/security/index.md). /// tip | Dica As próximas seções **não são necessariamente "avançadas"**. E é possível que para o seu caso de uso, a solução está em uma delas. /// ## Leia o Tutorial primeiro { #read-the-tutorial-first }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 728 bytes - Click Count (0) -
docs/pt/docs/deployment/versions.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
/// tip | Dica No próximo capítulo, você verá uma implementação realmente segura, com hash de senha e tokens <abbr title="JSON Web Tokens">JWT</abbr>. Mas, por enquanto, vamos nos concentrar nos detalhes específicos de que precisamos. /// {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *} /// tip | Dica
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.2K bytes - Click Count (0) -
docs_src/separate_openapi_schemas/tutorial001_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 451 bytes - Click Count (0)