Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,914 for TTypes (0.16 sec)

  1. 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)
  2. docs/em/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    ⏮️ 👈, 👆 💪 📜, 👀 🎛, ⏭ 👆 🔎 1️⃣ 👈 "💍 🔔":
    
    <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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/ko/docs/python-types.md

    일반적으로 타입힌트를 추가한다고 해서 특별하게 어떤 일이 일어나지도 않습니다.
    
    그렇지만 이제, 다시 함수를 만드는 도중이라고 생각해봅시다. 다만 이번엔 타입 힌트가 있습니다.
    
    같은 상황에서 `Ctrl+Space`로 자동완성을 작동시키면,
    
    <img src="/img/python-types/image02.png">
    
    아래와 같이 "그렇지!"하는 옵션이 나올때까지 스크롤을 내려서 볼 수 있습니다:
    
    <img src="/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
    - 10.5K bytes
    - Viewed (0)
  4. pkg/apis/apps/types.go

    	// +optional
    	AvailableReplicas int32
    }
    
    // StatefulSetConditionType describes the condition types of StatefulSets.
    type StatefulSetConditionType string
    
    // TODO: Add valid condition types for Statefulsets.
    
    // StatefulSetCondition describes the state of a statefulset at a certain point.
    type StatefulSetCondition struct {
    	// Type of statefulset condition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/types.go

    	// the memory manager will assume that only 9Gi is available for allocation.
    	// You can specify a different amount of NUMA node and memory types.
    	// You can omit this parameter at all, but you should be aware that the amount of reserved memory from all NUMA nodes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. docs/de/docs/python-types.md

    An derselben Stelle versuchen Sie, die Autovervollständigung mit „Strg+Leertaste“ auszulösen, und Sie sehen:
    
    <img src="/img/python-types/image02.png">
    
    Hier können Sie durch die Optionen blättern, bis Sie diejenige finden, bei der es „Klick“ macht:
    
    <img src="/img/python-types/image03.png">
    
    ## Mehr Motivation
    
    Sehen Sie sich diese Funktion an, sie hat bereits Typhinweise:
    
    ```Python hl_lines="1"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:29:25 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. 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.
    
    === "Python 3.10+"
    
        ```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
    - 4.1K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/types.go

    type CrossVersionObjectReference struct {
    	// kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
    	Kind string
    
    	// name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    	Name string
    
    	// apiVersion is the API version of the referent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2beta1/types.go

    type CrossVersionObjectReference struct {
    	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    	// Name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 26.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/resource/v1alpha2/types.go

    limitations under the License.
    */
    
    package v1alpha2
    
    import (
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    const (
    	// Finalizer is the finalizer that gets set for claims
    	// which were allocated through a builtin controller.
    	// Reserved for use by Kubernetes, DRA driver controllers must
    	// use their own finalizer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 10:22:35 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top