Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,215 for type0 (0.06 sec)

  1. cmd/setup-type.go

    package cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    
    	// ErasureSDSetupType - Erasure single drive setup enum.
    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. fastapi/utils.py

        new_field = create_model_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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 23:46:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. 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)
  4. cmd/metrics-v3-types.go

    }
    
    type metricValue struct {
    	Labels map[string]string
    	Value  float64
    }
    
    // MetricValues - type to set metric values retrieved while loading metrics. A
    // value of this type is passed to the `MetricsLoaderFn`.
    type MetricValues struct {
    	values      map[MetricName][]metricValue
    	descriptors map[MetricName]MetricDescriptor
    }
    
    func newMetricValues(d map[MetricName]MetricDescriptor) MetricValues {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. fastapi/_compat.py

            field_info = field.field_info
            if not (
                field.shape == SHAPE_SINGLETON  # type: ignore[attr-defined]
                and not lenient_issubclass(field.type_, BaseModel)
                and not lenient_issubclass(field.type_, dict)
                and not field_annotation_is_sequence(field.type_)
                and not is_dataclass(field.type_)
                and not isinstance(field_info, params.Body)
            ):
                return False
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. cmd/typed-errors.go

    Taran Pelkey <******@****.***> 1716916456 -0400
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. 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)
  8. docs/bn/docs/python-types.md

    একই পর্যায়ে, আপনি অটোকমপ্লিট ট্রিগার করতে `Ctrl+Space` চাপেন এবং আপনি দেখতে পান:
    
    <img src="/img/python-types/image02.png">
    
    এর সাথে, আপনি অপশনগুলি দেখে, স্ক্রল করতে পারেন, যতক্ষণ না আপনি এমন একটি অপশন খুঁজে পান যা কিছু মনে পরিয়ে দেয়:
    
    <img src="/img/python-types/image03.png">
    
    ## আরও প্রেরণা
    
    এই ফাংশনটি দেখুন, এটিতে ইতিমধ্যে টাইপ হিন্ট রয়েছে:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/extra-data-types.md

        * Стандартний Пайтонівський `Decimal`.
        * У запитах і відповідях це буде оброблено так само, як і `float`.
    * Ви можете перевірити всі дійсні типи даних Pydantic тут: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">типи даних Pydantic</a>.
    
    ## Приклад
    
    Ось приклад *path operation* з параметрами, використовуючи деякі з вищезазначених типів.
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. docs/vi/docs/python-types.md

    But now, imagine you are again in the middle of creating that function, but with type hints.
    
    Tại cùng một điểm, bạn thử kích hoạt autocomplete với `Ctrl+Space` và bạn thấy:
    
    <img src="/img/python-types/image02.png">
    
    Với cái đó, bạn có thể cuộn, nhìn thấy các lựa chọn, cho đến khi bạn tìm thấy một "tiếng chuông":
    
    <img src="/img/python-types/image03.png">
    
    ## Động lực nhiều hơn
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top