- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 395 for types (0.04 sec)
-
fastapi/types.py
import types from enum import Enum from typing import Any, Callable, Dict, Set, Type, 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]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 12 00:29:03 UTC 2023 - 383 bytes - Viewed (0) -
internal/logger/target/types/types.go
package types // TargetType indicates type of the target e.g. console, http, kafka type TargetType uint8 //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE // Constants for target types const ( _ TargetType = iota TargetConsole TargetHTTP TargetKafka ) // TargetStats contains statistics for a target. type TargetStats struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 10 18:20:21 UTC 2022 - 1.4K bytes - Viewed (0) -
docs/es/docs/python-types.md
Todo **FastAPI** está basado en estos type hints, lo que le da muchas ventajas y beneficios. Pero, así nunca uses **FastAPI** te beneficiarás de aprender un poco sobre los type hints. /// note | Nota Si eres un experto en Python y ya lo sabes todo sobre los type hints, salta al siguiente capítulo.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/config/dns/types.go
package dns import ( "encoding/json" "time" ) const ( defaultTTL = 30 defaultContextTimeout = 5 * time.Minute ) // SrvRecord - represents a DNS service record type SrvRecord struct { Host string `json:"host,omitempty"` Port json.Number `json:"port,omitempty"` Priority int `json:"priority,omitempty"` Weight int `json:"weight,omitempty"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-data-types.md
* Sie können alle gültigen Pydantic-Datentypen hier überprüfen: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>. ## Beispiel Hier ist ein Beispiel für eine *Pfadoperation* mit Parametern, die einige der oben genannten Typen verwenden. //// tab | Python 3.10+ ```Python hl_lines="1 3 12-16"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/site/apt/dependency-types.apt
~~ under the License. --- Default Dependency Types --- Hervé Boutemy --- 2024-04-02 --- Default Dependency Types Reference Defined in <<<DefaultTypeProvider>>> ({{{./apidocs/org/apache/maven/repository/internal/type/DefaultTypeProvider.html}javadoc}}, {{{./xref/org/apache/maven/repository/internal/type/DefaultTypeProvider.html}source}}):
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/testdata/config/invalid-types.yaml
Anis Eleuch <******@****.***> 1701941636 -0800
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 836 bytes - Viewed (0) -
docs/tr/docs/python-types.md
Şimdi programı sıfırdan birdaha yazdığınızı hayal edin. Aynı noktada, `Ctrl+Space` ile otomatik tamamlamayı tetiklediniz ve şunu görüyorsunuz: <img src="/img/python-types/image02.png"> Aradığınızı bulana kadar seçenekleri kaydırabilirsiniz: <img src="/img/python-types/image03.png"> ## Daha fazla motivasyon Bu fonksiyon, zaten tür belirteçlerine sahip: ```Python hl_lines="1"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/zh/docs/python-types.md
而且添加类型提示一般不会改变原来的运行结果。 现在假设我们又一次正在创建这个函数,这次添加了类型提示。 在同样的地方,通过 `Ctrl+Space` 触发自动补全,你会发现: <img src="https://fastapi.tiangolo.com/img/python-types/image02.png"> 这样,你可以滚动查看选项,直到你找到看起来眼熟的那个: <img src="https://fastapi.tiangolo.com/img/python-types/image03.png"> ## 更多动机 下面是一个已经有类型提示的函数: ```Python hl_lines="1" {!../../docs_src/python_types/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-data-types.md
* 생성된 스키마는 이것이 `binary` "형식"의 `str`임을 명시합니다. * `Decimal`: * 표준 파이썬의 `Decimal`. * 요청과 응답에서 `float`와 동일하게 다뤄집니다. * 여기에서 모든 유효한 pydantic 데이터 자료형을 확인할 수 있습니다: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic 데이터 자료형</a>. ## 예시 위의 몇몇 자료형을 매개변수로 사용하는 *경로 작동* 예시입니다. //// tab | Python 3.10+ ```Python hl_lines="1 3 12-16"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0)