- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 490 for declares (0.19 sec)
-
docs/zh/docs/features.md
如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。 编写带有类型标注的标准 Python: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/de/docs/tutorial/schema-extra-example.md
# Beispiel-Request-Daten deklarieren { #declare-request-example-data } Sie können Beispiele für die Daten deklarieren, die Ihre App empfangen kann. Hier sind mehrere Möglichkeiten, das zu tun. ## Zusätzliche JSON-Schemadaten in Pydantic-Modellen { #extra-json-schema-data-in-pydantic-models } Sie können `examples` („Beispiele“) für ein Pydantic-Modell deklarieren, welche dem generierten JSON-Schema hinzugefügt werden.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/es/docs/advanced/settings.md
/// ### Crear el objeto `Settings` { #create-the-settings-object } Importa `BaseSettings` de Pydantic y crea una sub-clase, muy similar a un modelo de Pydantic. De la misma forma que con los modelos de Pydantic, declaras atributos de clase con anotaciones de tipos, y posiblemente, valores por defecto.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.2K bytes - Viewed (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 publicRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
public void testMethodOverrides() throws NoSuchMethodException { // Given Class<?> clazz = SmbComTreeDisconnect.class; // When & Then - verify methods are declared in this class (overridden) Method writeParameterWords = clazz.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class); assertNotNull(writeParameterWords);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 10.6K bytes - Viewed (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,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
apache-maven/src/assembly/maven/conf/settings.xml
</server> --> </servers> <!-- mirrors | This is a list of mirrors to be used in downloading artifacts from remote repositories. | | It works like this: a POM may declare a repository to use in resolving certain artifacts. | However, this repository may have problems with heavy traffic at times, so people have mirrored | it to several places. |Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 22 07:44:50 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
} /* * Also look up an earlier node so that, if the graph is using MapRetrievalCache, * we read one of the fields declared in that class. */ Set<Integer> unused = graph.successors(first); return null; } })); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 18.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
Имейте в виду, что в этом случае FastAPI не будет проверять содержимое списка. Например, `list[int]` проверит (и задокументирует), что элементы списка — целые числа. А просто `list` — нет. /// ## Больше метаданных { #declare-more-metadata } Можно добавить больше информации о параметре. Эта информация будет включена в сгенерированную OpenAPI-схему и использована интерфейсами документации и внешними инструментами.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 26.2K bytes - Viewed (0)