- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 475 for TYPES (0.02 sec)
-
fastapi/types.py
import types from enum import Enum from typing import Any, Callable, Optional, TypeVar, Union from pydantic import BaseModel DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str] IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 455 bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
} private static Type[] toArray(Collection<Type> types) { return types.toArray(new Type[0]); } private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) { return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class))); } private static void disallowPrimitiveType(Type[] types, String usedAs) { for (Type type : types) { if (type instanceof Class) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} private static Type[] toArray(Collection<Type> types) { return types.toArray(new Type[0]); } private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) { return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class))); } private static void disallowPrimitiveType(Type[] types, String usedAs) { for (Type type : types) { if (type instanceof Class) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
docs/pt/docs/python-types.md
Mas, infelizmente, você não obtém nada útil: <img src="/img/python-types/image01.png"> ### Adicionar tipos { #add-types } Vamos modificar uma única linha da versão anterior. Vamos mudar exatamente esse fragmento, os parâmetros da função, de: ```Python first_name, last_name ``` para:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.7K bytes - Viewed (0) -
docs/es/docs/python-types.md
Escribes el primer parámetro de la función, `first_name`, luego un punto (`.`) y luego presionas `Ctrl+Espacio` para activar el autocompletado. Pero, tristemente, no obtienes nada útil: <img src="/img/python-types/image01.png"> ### Añadir tipos { #add-types } Modifiquemos una sola línea de la versión anterior. Cambiaremos exactamente este fragmento, los parámetros de la función, de: ```Python first_name, last_name ``` a:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (1) -
docs/en/docs/python-types.md
These types that have internal types are called "**generic**" types. And it's possible to declare them, even with their internal types. To declare those types and the internal types, you can use the standard Python module `typing`. It exists specifically to support these type hints. #### Newer versions of Python { #newer-versions-of-python }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/ru/docs/python-types.md
Вы вводите первый параметр функции, `first_name`, затем точку (`.`) и нажимаете `Ctrl+Space`, чтобы вызвать автозавершение. Но, к сожалению, ничего полезного не находится: <img src="/img/python-types/image01.png"> ### Добавим типы { #add-types } Давайте изменим одну строку из предыдущей версии. Мы поменяем ровно этот фрагмент — параметры функции — с: ```Python first_name, last_name ``` на: ```Python
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 24.4K bytes - Viewed (0) -
docs/de/docs/python-types.md
Aber leider erhalten Sie nichts Nützliches: <img src="/img/python-types/image01.png"> ### Typen hinzufügen { #add-types } Lassen Sie uns eine einzelne Zeile aus der vorherigen Version ändern. Wir ändern den folgenden Teil, die Parameter der Funktion, von: ```Python first_name, last_name ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.9K bytes - Viewed (1) -
docs/zh/docs/python-types.md
<img src="https://fastapi.tiangolo.com/img/python-types/image02.png"> 这样,你可以滚动查看选项,直到你找到看起来眼熟的那个: <img src="https://fastapi.tiangolo.com/img/python-types/image03.png"> ## 更多动机 下面是一个已经有类型提示的函数: {* ../../docs_src/python_types/tutorial003.py hl[1] *} 因为编辑器已经知道了这些变量的类型,所以不仅能对代码进行补全,还能检查其中的错误: <img src="https://fastapi.tiangolo.com/img/python-types/image04.png">
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Aug 18 06:34:40 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-data-types.md
* `Decimal`: * Встроенный в Python `Decimal`. * В запросах и ответах обрабатывается так же, как и `float`. * Вы можете проверить все допустимые типы данных Pydantic здесь: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Типы данных Pydantic</a>. ## Пример { #example } Вот пример *операции пути* с параметрами, который демонстрирует некоторые из вышеперечисленных типов.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 4.4K bytes - Viewed (0)