- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 369 for typeA (0.04 sec)
-
pkg/config/schema/codegen/templates/types.go.tmpl
apiistioioapitelemetryv1alpha1 "istio.io/client-go/pkg/apis/telemetry/v1alpha1" ) func getGvk(obj any) (config.GroupVersionKind, bool) { switch obj.(type) { {{- range .Entries }} case *{{ .ClientImport }}.{{ .Resource.Kind }}: return gvk.{{ .Resource.Identifier }}, true {{- if and (not (eq .ClientImport .IstioAwareClientImport)) (not .Resource.Synthetic) }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.1K 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: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 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: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 8.6K bytes - Viewed (0) -
fastapi/utils.py
new_field = create_response_field(name=field.name, type_=use_type) new_field.has_alias = field.has_alias # type: ignore[attr-defined] new_field.alias = field.alias # type: ignore[misc] new_field.class_validators = field.class_validators # type: ignore[attr-defined] new_field.default = field.default # type: ignore[misc] new_field.required = field.required # type: ignore[misc]
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-data-types.md
* `Decimal`: * Встроенный в Python `Decimal`. * В запросах и ответах обрабатывается так же, как и `float`. * Вы можете проверить все допустимые типы данных pydantic здесь: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Типы данных Pydantic</a>. ## Пример Вот пример *операции пути* с параметрами, который демонстрирует некоторые из вышеперечисленных типов. === "Python 3.8 и выше"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-data-types.md
* O `Decimal` padrão do Python. * Em requisições e respostas será representado como um `float`. * Você pode checar todos os tipos de dados válidos do Pydantic aqui: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Tipos de dados do Pydantic</a>. ## Exemplo Aqui está um exemplo de *operação de rota* com parâmetros utilizando-se de alguns dos tipos acima. ```Python hl_lines="1 3 12-16"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go
// FilterCompiler contains a function to assist with converting types and values to/from CEL-typed values. type FilterCompiler interface { // Compile is used for the cel expression compilation Compile(expressions []ExpressionAccessor, optionalDecls OptionalVariableDeclarations, envType environment.Type) Filter } // OptionalVariableBindings provides expression bindings for optional CEL variables. type OptionalVariableBindings struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go
typer runtime.ObjectTyper options options } func NewSerializer(creater runtime.ObjectCreater, typer runtime.ObjectTyper, options ...Option) Serializer { return newSerializer(&defaultMetaFactory{}, creater, typer, options...) } func newSerializer(metaFactory metaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper, options ...Option) *serializer { s := &serializer{ metaFactory: metaFactory,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
* 🏗 🔗 🔜 ✔ 👈 ⚫️ `str` ⏮️ `binary` "📁". * `Decimal`: * 🐩 🐍 `Decimal`. * 📨 & 📨, 🍵 🎏 `float`. * 👆 💪 ✅ 🌐 ☑ Pydantic 📊 🆎 📥: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic 📊 🆎</a>. ## 🖼 📥 🖼 *➡ 🛠️* ⏮️ 🔢 ⚙️ 🔛 🆎. === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="1 3 12-16"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 2.6K bytes - Viewed (0)