- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,214 for type1 (0.02 sec)
-
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/python-types.md
<img src="/img/python-types/image02.png"> 아래와 같이 "그렇지!"하는 옵션이 나올때까지 스크롤을 내려서 볼 수 있습니다: <img src="/img/python-types/image03.png"> ## 더 큰 동기부여 아래 함수를 보면, 이미 타입 힌트가 적용되어 있는 걸 볼 수 있습니다: ```Python hl_lines="1" {!../../docs_src/python_types/tutorial003.py!} ``` 편집기가 변수의 타입을 알고 있기 때문에, 자동완성 뿐 아니라 에러도 확인할 수 있습니다: <img src="/img/python-types/image04.png">
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/em/docs/python-types.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.4K bytes - Viewed (0) -
internal/grid/types.go
"sort" "strings" "sync" "github.com/tinylib/msgp/msgp" ) // Recycler will override the internal reuse in typed handlers. // When this is supported, the handler will not do internal pooling of objects, // call Recycle() when the object is no longer needed. // The recycler should handle nil pointers. type Recycler interface { Recycle() } // MSS is a map[string]string that can be serialized.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
fastapi/py.typed
Steve B <******@****.***> 1557567827 +0200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 11 09:43:47 UTC 2019 - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
* In requests and responses, handled the same as a `float`. * You can check all the valid Pydantic data types here: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>. ## Example Here's an example *path operation* with parameters using some of the above types. //// 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 - 4K bytes - Viewed (0) -
docs/ja/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 - 11.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-data-types.md
* 生成的模式将指定这个 `str` 是 `binary` "格式"。 * `Decimal`: * 标准的 Python `Decimal`。 * 在请求和响应中被当做 `float` 一样处理。 * 您可以在这里检查所有有效的pydantic数据类型: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic data types</a>. ## 例子 下面是一个*路径操作*的示例,其中的参数使用了上面的一些类型。 //// tab | Python 3.10+ ```Python hl_lines="1 3 12-16" {!> ../../docs_src/extra_data_types/tutorial001_an_py310.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.9K bytes - Viewed (0) -
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)