- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 242 for tutorial003_an_py39 (0.38 sec)
-
docs/ko/docs/tutorial/cookie-param-models.md
Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다: {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *} 클라이언트가 **추가 쿠키**를 보내려고 시도하면, **오류** 응답을 받게 됩니다. <abbr title="이건 또 다른 농담입니다. 제 말에 귀 기울이지 마세요. 커피랑 쿠키 좀 드세요. ☕">API가 거부</abbr>하는데도 동의를 얻기 위해 애쓰는 불쌍한 쿠키 배너(팝업)들. 🍪Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:47:02 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
Beispielsweise kann `dependency_c` von `dependency_b` und `dependency_b` von `dependency_a` abhängen: {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *} Und alle können `yield` verwenden. In diesem Fall benötigt `dependency_c` zum Ausführen seines Exit-Codes, dass der Wert von `dependency_b` (hier `dep_b` genannt) verfügbar ist.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.7K bytes - Viewed (0) -
docs/es/docs/tutorial/security/get-current-user.md
En el capítulo anterior, el sistema de seguridad (que se basa en el sistema de inyección de dependencias) le estaba dando a la *path operation function* un `token` como un `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual. ## Crear un modelo de usuario { #create-a-user-model } Primero, vamos a crear un modelo de usuario con Pydantic.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
# Get Current User { #get-current-user } In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} But that is still not that useful. Let's make it give us the current user. ## Create a user model { #create-a-user-model } First, let's create a Pydantic user model.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
Im vorherigen Kapitel hat das Sicherheitssystem (das auf dem Dependency Injection System basiert) der *Pfadoperation-Funktion* einen `token` vom Typ `str` überreicht: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Aber das ist immer noch nicht so nützlich. Lassen wir es uns den aktuellen Benutzer überreichen. ## Ein Benutzermodell erstellen { #create-a-user-model }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial001.py
default_registry.dispose() @pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): clear_sqlmodel() # TODO: remove when updating SQL tutorial to use new lifespan API
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 14K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
例如,`dependency_c` 可以依赖于 `dependency_b`,而 `dependency_b` 则依赖于 `dependency_a`。 {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *} 所有这些依赖都可以使用 `yield`。 在这种情况下,`dependency_c` 在执行其退出代码时需要 `dependency_b`(此处称为 `dep_b`)的值仍然可用。 而 `dependency_b` 反过来则需要 `dependency_a`(此处称为 `dep_a` )的值在其退出代码中可用。 {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *} 同样,你可以混合使用带有 `yield` 或 `return` 的依赖。 你也可以声明一个依赖于多个带有 `yield` 的依赖,等等。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/get-current-user.md
No capítulo anterior, o sistema de segurança (que é baseado no sistema de injeção de dependências) estava fornecendo à *função de operação de rota* um `token` como uma `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Mas isso ainda não é tão útil. Vamos fazer com que ele nos forneça o usuário atual. ## Criar um modelo de usuário { #create-a-user-model }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/background-tasks.md
//// tab | Python 3.10+ {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13, 15, 22, 25] *} //// //// tab | Python 3.9+ {* ../../docs_src/background_tasks/tutorial002_an_py39.py hl[13, 15, 22, 25] *} //// //// tab | Python 3.8+ {* ../../docs_src/background_tasks/tutorial002_an.py hl[14, 16, 23, 26] *} //// //// tab | Python 3.10+ 没Annotated /// tipRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Por ejemplo, `dependency_c` puede tener una dependencia de `dependency_b`, y `dependency_b` de `dependency_a`: {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *} Y todas ellas pueden usar `yield`. En este caso, `dependency_c`, para ejecutar su código de salida, necesita que el valor de `dependency_b` (aquí llamado `dep_b`) todavía esté disponible.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.7K bytes - Viewed (0)