- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 637 for declares (0.05 seconds)
-
docs/pt/docs/features.md
Você escreve Python padrão com tipos: ```Python from datetime import date from pydantic import BaseModel # Declare uma variável como str # e obtenha suporte do editor dentro da função def main(user_id: str): return user_id # Um modelo do Pydantic class User(BaseModel): id: int name: str joined: date
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
Normalmente se utilizan para declarar permisos de seguridad específicos, por ejemplo: * `users:read` o `users:write` son ejemplos comunes. * `instagram_basic` es usado por Facebook / Instagram. * `https://www.googleapis.com/auth/drive` es usado por Google. /// info | Información En OAuth2 un "scope" es solo un string que declara un permiso específico requerido.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/tr/docs/advanced/security/oauth2-scopes.md
/// {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *} ## *Path operation*'larda ve dependency'lerde scope tanımlama { #declare-scopes-in-path-operations-and-dependencies } Artık `/users/me/items/` için olan *path operation*'ın `items` scope'unu gerektirdiğini tanımlıyoruz. Bunun için `fastapi` içinden `Security` import edip kullanıyoruz.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 14.7K bytes - Click Count (0) -
docs/ko/docs/tutorial/schema-extra-example.md
# 요청 예제 데이터 선언 { #declare-request-example-data } 여러분의 앱이 받을 수 있는 데이터 예제를 선언할 수 있습니다. 여기 이를 위한 몇 가지 방식이 있습니다. ## Pydantic 모델 속 추가 JSON 스키마 데이터 { #extra-json-schema-data-in-pydantic-models } 생성된 JSON 스키마에 추가될 Pydantic 모델을 위한 `examples`을 선언할 수 있습니다. {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *} 추가 정보는 있는 그대로 해당 모델의 **JSON 스키마** 결과에 추가되고, API 문서에서 사용합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/index.md
/// ### 匯入 `Depends` { #import-depends } {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### 在「被依賴者」(dependant)中宣告依賴 { #declare-the-dependency-in-the-dependant } 和你在「路徑操作函式」參數上使用 `Body`、`Query` 等方式一樣,針對新參數使用 `Depends`: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
} /** * Test all fields are public and accessible */ @Test @DisplayName("Test all fields are public") public void testAllFieldsArePublic() { // Get all declared fields Field[] fields = ServerData.class.getDeclaredFields(); // Verify we have the expected number of fields assertEquals(19, fields.length); // Verify all fields are publicCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} } } }, /* * This one comes last to work around b/367716565. (One *possible* alternative would be to not * declare any methods in this enum, converting assertFailsToDecode into a static method that is * implemented with a `switch`. I haven't tested that.) */ @GwtIncompatible // decodingStream(Reader) DECODING_STREAM {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/schema-extra-example.md
# リクエストのExampleデータの宣言 { #declare-request-example-data } アプリが受け取れるデータの例を宣言できます。 ここでは、それを行ういくつかの方法を紹介します。 ## Pydanticモデルでの追加JSON Schemaデータ { #extra-json-schema-data-in-pydantic-models } 生成されるJSON Schemaに追加されるPydanticモデルの`examples`を宣言できます。 {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *} その追加情報は、そのモデルの出力**JSON Schema**にそのまま追加され、APIドキュメントで使用されます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Si no se especifica y la dependencia tiene `yield`, tendrá un `scope` de `"request"` por defecto. ### `scope` para sub-dependencias { #scope-for-sub-dependencies } Cuando declaras una dependencia con `scope="request"` (el valor por defecto), cualquier sub-dependencia también necesita tener un `scope` de `"request"`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* module path, but is also compatible with placement on the class path. Compatibility can * be achieved, for example, by repeating in the {@code META-INF/services/} directory the services * that are declared in the {@code module-info.class} file. In that case, the path type can be chosen * by the plugin.</li> * <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module path,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 15.7K bytes - Click Count (1)