- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 849 for Tutorial (0.05 seconds)
-
docs/ja/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
Pydantic には v1 から v2 への公式の [移行ガイド](https://docs.pydantic.dev/latest/migration/) があります。 変更点、検証がより正確で厳密になった点、注意事項などが含まれます。 何が変わったかをよりよく理解するために参照してください。 ## テスト { #tests } アプリに対する[テスト](../tutorial/testing.md)を用意し、継続的インテグレーション(CI)で実行するようにしてください。 これにより、アップグレード後も期待どおり動作していることを確認できます。 ## `bump-pydantic` { #bump-pydantic } 多くの場合、カスタマイズのない通常の Pydantic モデルを使っていれば、v1 から v2 への移行作業の大半を自動化できます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
* A {@link Closeable} that collects {@code Closeable} resources and closes them all when it is * {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's * <a href="https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html" * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be * approximately equivalent in behavior to the same code written with try-with-resources. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/body-nested-models.md
이를 아래처럼: {* ../../docs_src/body_nested_models/tutorial008_py310.py hl[13] *} ## 어디서나 편집기 지원 { #editor-support-everywhere } 그리고 어디서나 편집기 지원을 받을 수 있습니다. 리스트 내부 항목의 경우에도: <img src="/img/tutorial/body-nested-models/image01.png"> Pydantic 모델 대신 `dict`로 직접 작업한다면 이런 종류의 편집기 지원을 받을 수 없습니다. 하지만 그 부분에 대해서도 걱정할 필요는 없습니다. 들어오는 dict는 자동으로 변환되고, 출력도 자동으로 JSON으로 변환됩니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 7.7K bytes - Click Count (0) -
docs/zh/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
## 官方指南 { #official-guide } Pydantic 有一份从 v1 迁移到 v2 的官方[迁移指南](https://docs.pydantic.dev/latest/migration/)。 其中包含变更内容、校验如何更准确更严格、可能的注意事项等。 你可以阅读以更好地了解变更。 ## 测试 { #tests } 请确保你的应用有[测试](../tutorial/testing.md),并在持续集成(CI)中运行它们。 这样你就可以升级并确保一切仍按预期工作。 ## `bump-pydantic` { #bump-pydantic } 在很多情况下,如果你使用的是未做自定义的常规 Pydantic 模型,可以将从 Pydantic v1 迁移到 v2 的大部分过程自动化。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
{* ../../docs_src/additional_responses/tutorial003_py310.py hl[20:31] *} It will all be combined and included in your OpenAPI, and shown in the API docs: <img src="/img/tutorial/additional-responses/image01.png"> ## Combine predefined responses and custom ones { #combine-predefined-responses-and-custom-ones }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
## Editor support everywhere { #editor-support-everywhere } And you get editor support everywhere. Even for items inside of lists: <img src="/img/tutorial/body-nested-models/image01.png"> You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead, * use the {@code HashSet} constructor directly, taking advantage of <a * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond" * syntax</a>. */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor callCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
//// ...다음과 같이요: {* ../../docs_src/dependencies/tutorial003_an_py310.py hl[19] *} 하지만 타입을 선언하는 것을 권장합니다. 그러면 에디터가 매개변수 `commons`에 무엇이 전달되는지 알 수 있고, 코드 완성, 타입 체크 등에서 도움을 받을 수 있습니다: <img src="/img/tutorial/dependencies/image02.png"> ## 단축 { #shortcut } 하지만 `CommonQueryParams`를 두 번 작성하는 코드 반복이 있다는 것을 볼 수 있습니다: //// tab | Python 3.10+ ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md
``` //// ...像是: {* ../../docs_src/dependencies/tutorial003_an_py310.py hl[19] *} 但仍建議宣告型別,這樣你的編輯器就知道會以何種型別作為參數 `commons` 傳入,進而幫助你做自動完成、型別檢查等: <img src="/img/tutorial/dependencies/image02.png"> ## 捷徑 { #shortcut } 不過你會發現這裡有些重複程式碼,我們寫了兩次 `CommonQueryParams`: //// tab | Python 3.10+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/ko/docs/features.md
### 보안과 인증 { #security-and-authentication } 보안과 인증이 통합되어 있습니다. 데이터베이스나 데이터 모델과 타협하지 않습니다. 다음을 포함해 OpenAPI에 정의된 모든 보안 스키마: * HTTP Basic. * **OAuth2**(**JWT tokens** 또한 포함). [JWT를 사용한 OAuth2](tutorial/security/oauth2-jwt.md) 자습서를 확인해 보세요. * 다음에 들어 있는 API 키: * 헤더. * 쿼리 매개변수. * 쿠키 등. 추가로 Starlette의 모든 보안 기능(**세션 쿠키** 포함)도 제공합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11K bytes - Click Count (0)