Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 399 for typer (0.04 seconds)

  1. docs/de/docs/advanced/advanced-python-types.md

    # Fortgeschrittene Python-Typen { #advanced-python-types }
    
    Hier sind einige zusätzliche Ideen, die beim Arbeiten mit Python-Typen nützlich sein könnten.
    
    ## `Union` oder `Optional` verwenden { #using-union-or-optional }
    
    Wenn Ihr Code aus irgendeinem Grund nicht `|` verwenden kann, z. B. wenn es nicht in einer Typannotation ist, sondern in etwas wie `response_model=`, können Sie anstelle des senkrechten Strichs (`|`) `Union` aus `typing` verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/extra-data-types.md

        * Dans les requêtes et les réponses, géré de la même manière qu'un `float`.
    * Vous pouvez consulter tous les types de données Pydantic valides ici : [Types de données Pydantic](https://docs.pydantic.dev/latest/usage/types/types/).
    
    ## Exemple { #example }
    
    Voici un exemple de *chemin d'accès* avec des paramètres utilisant certains des types ci-dessus.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/advanced-python-types.md

    # 高度な Python の型 { #advanced-python-types }
    
    Python の型を扱うときに役立つ追加のアイデアをいくつか紹介します。
    
    ## `Union` または `Optional` の利用 { #using-union-or-optional }
    
    何らかの理由で `|` が使えない場合、たとえば型アノテーションではなく `response_model=` のような場所では、縦棒(`|`)の代わりに `typing` の `Union` を使えます。
    
    例えば、`str` または `None` になり得ることを宣言できます:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/advanced-python-types.md

    # Types Python avancés { #advanced-python-types }
    
    Voici quelques idées supplémentaires qui peuvent être utiles lorsque vous travaillez avec les types Python.
    
    ## Utiliser `Union` ou `Optional` { #using-union-or-optional }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/advanced-python-types.md

    # 高级 Python 类型 { #advanced-python-types }
    
    这里有一些在使用 Python 类型时可能有用的额外想法。
    
    ## 使用 `Union` 或 `Optional` { #using-union-or-optional }
    
    如果你的代码因为某些原因不能使用 `|`,例如它不是在类型注解里,而是在 `response_model=` 之类的参数中,那么你可以使用 `typing` 中的 `Union` 来代替竖线(`|`)。
    
    例如,你可以声明某个值可以是 `str` 或 `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` 也提供了一个声明“可能为 `None`”的快捷方式:`Optional`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 2K bytes
    - Click Count (0)
  6. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                thead {
                    tr {
                        td('Type')
                        td('Description')
                    }
                }
            }
    
            typeTable.tr.each { Element tr ->
                mergeType(tr, model)
            }
        }
    
        def mergeType(Element typeTr, DslDocModel model) {
            String className = typeTr.td[0].text().trim()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  8. fastapi/encoders.py

        IPv6Address,
        IPv6Interface,
        IPv6Network,
    )
    from pathlib import Path, PurePath
    from re import Pattern
    from types import GeneratorType
    from typing import Annotated, Any
    from uuid import UUID
    
    from annotated_doc import Doc
    from fastapi.exceptions import PydanticV1NotSupportedError
    from fastapi.types import IncEx
    from pydantic import BaseModel
    from pydantic.color import Color  # ty: ignore[deprecated]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/Request.java

     */
    package jcifs.internal;
    
    import jcifs.CIFSContext;
    
    /**
     * Generic interface for typed SMB request messages.
     * Extends the common request interface with type-safe response handling,
     * allowing requests to specify their expected response type.
     *
     * @author mbechler
     * @param <T> response type
     */
    public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. docs/en/docs/js/termynal.js

                const type = line.getAttribute(this.pfx);
                const delay = line.getAttribute(`${this.pfx}-delay`) || this.lineDelay;
    
                if (type == 'input') {
                    line.setAttribute(`${this.pfx}-cursor`, this.cursor);
                    await this.type(line);
                    await this._wait(delay);
                }
    
                else if (type == 'progress') {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 10:32:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top