Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 489 for Types (0.02 seconds)

  1. docs/ja/docs/features.md

    ### 現代的なPython
    
    FastAPIの機能はすべて、標準のPython 3.8型宣言に基づいています(Pydanticの功績)。新しい構文はありません。ただの現代的な標準のPythonです。
    
    (FastAPIを使用しない場合でも)Pythonの型の使用方法について簡単な復習が必要な場合は、短いチュートリアル([Python Types](python-types.md){.internal-link target=_blank})を参照してください。
    
    型を使用した標準的なPythonを記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  2. cmd/utils_test.go

    		isMax := isMaxPartID(s.partN)
    		if isMax != s.isMax {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests extracting bucket and objectname from various types of paths.
    func TestPath2BucketObjectName(t *testing.T) {
    	testCases := []struct {
    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. internal/s3select/sql/analysis.go

    // rows in some manner. Requires all input rows to be processed,
    // before a result is returned.
    //
    // Row function - An expression that depends on a value in the
    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    // function combined with a row function is meaningless ("AVG(s.Age) +
    // s.Salary"). Analysis determines if such a scenario exists so an
    // error can be returned.
    
    var (
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. docs/de/docs/features.md

    Wenn Sie eine zweiminütige Auffrischung benötigen, wie man Python-Typen verwendet (auch wenn Sie FastAPI nicht benutzen), schauen Sie sich das kurze Tutorial an: [Einführung in Python-Typen](python-types.md){.internal-link target=_blank}.
    
    Sie schreiben Standard-Python mit Typen:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Deklarieren Sie eine Variable als ein str
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/handling-errors.md

    ///
    
    ## Add custom headers { #add-custom-headers }
    
    There are some situations in where it's useful to be able to add custom headers to the HTTP error. For example, for some types of security.
    
    You probably won't need to use it directly in your code.
    
    But in case you needed it for an advanced scenario, you can add custom headers:
    
    {* ../../docs_src/handling_errors/tutorial002_py39.py hl[14] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/extra-models.md

    이를 위해 표준 Python 타입 힌트인 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>을 사용할 수 있습니다:
    
    /// note | 참고
    
    <a href="https://docs.pydantic.dev/latest/concepts/types/#unions" class="external-link" target="_blank">`Union`</a>을 정의할때는 더 구체적인 타입을 먼저 포함하고, 덜 구체적인 타입을 그 뒤에 나열해야합니다. 아래 예제에서는 `Union[PlaneItem, CarItem]` 를 보면, 더 구체적인 `PlaneItem`이 `CarItem`보다 앞에 위치합니다.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 13:38:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/first-steps.md

    #### "Schéma" de données
    
    Le terme "schéma" peut aussi faire référence à la forme de la donnée, comme un contenu JSON.
    
    Dans ce cas, cela signifierait les attributs JSON, ainsi que les types de ces attributs, etc.
    
    #### OpenAPI et JSON Schema
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/query-params-str-validations.md

    * `max_length`
    * `regex`
    
    Parmi ces exemples, vous avez pu voir comment déclarer des validateurs pour les chaînes de caractères.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/path-params.md

    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Parámetros de path con tipos { #path-parameters-with-types }
    
    Puedes declarar el tipo de un parámetro de path en la función, usando anotaciones de tipos estándar de Python:
    
    {* ../../docs_src/path_params/tutorial002_py39.py hl[7] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. docs/ru/docs/features.md

    Если вам нужно освежить знания о типах в Python (даже если вы не используете FastAPI), выделите 2 минуты и просмотрите краткое руководство: [Типы Python](python-types.md){.internal-link target=_blank}.
    
    Вы пишете стандартный Python с типами:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Объявляем параметр как `str`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 16K bytes
    - Click Count (0)
Back to Top