Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for Model (0.13 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    ```Python
    id = data.id
    ```
    
    And with this, the Pydantic *model* is compatible with ORMs, and you can just declare it in the `response_model` argument in your *path operations*.
    
    You will be able to return a database model and it will read the data from it.
    
    #### Technical Details about ORM mode
    
    SQLAlchemy and many others are by default "lazy loading".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

        ```
    
    That extra info will be added as-is to the output **JSON Schema** for that model, and it will be used in the API docs.
    
    === "Pydantic v2"
    
        In Pydantic version 2, you would use the attribute `model_config`, that takes a `dict` as described in <a href="https://docs.pydantic.dev/latest/usage/model_config/" class="external-link" target="_blank">Pydantic's docs: Model Config</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/path-params.md

    !!! tip "İpucu"
        Merak ediyorsanız söyleyeyim, "AlexNet", "ResNet" ve "LeNet" isimleri Makine Öğrenmesi <abbr title="Teknik olarak, Derin Öğrenme model mimarileri">modellerini</abbr> temsil eder.
    
    ### Bir *Yol Parametresi* Tanımlayalım
    
    Sonrasında, yarattığımız enum sınıfını (`ModelName`) kullanarak tip belirteci aracılığıyla bir *yol parametresi* oluşturalım:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. LICENSES/vendor/github.com/prometheus/client_model/LICENSE

    = vendor/github.com/prometheus/client_model licensed under: =
    
                                     Apache License
                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 11.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/settings.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/settings/app03_an/config.py!}
        ```
    
        !!! tip
            The `model_config` attribute is used just for Pydantic configuration. You can read more at <a href="https://docs.pydantic.dev/latest/usage/model_config/" class="external-link" target="_blank">Pydantic Model Config</a>.
    
    === "Pydantic v1"
    
        ```Python hl_lines="9-10"
        {!> ../../../docs_src/settings/app03_an/config_pv1.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/settings.md

    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/extra-models.md

        {!> ../../../docs_src/extra_models/tutorial003.py!}
        ```
    
    ### `Union` в Python 3.10
    
    В этом примере мы передаём `Union[PlaneItem, CarItem]` в качестве значения аргумента `response_model`.
    
    Поскольку мы передаём его как **значение аргумента** вместо того, чтобы поместить его в **аннотацию типа**, нам придётся использовать `Union` даже в Python 3.10.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. ci/official/utilities/code_check_full.bats

      cat > $BATS_TEST_TMPDIR/ignore_these_deps <<EOF
    benchmark
    _test$
    _test.py$
    _test_cpu$
    _test_cpu.py$
    _test_gpu$
    _test_gpu.py$
    _test_lib$
    //tensorflow/cc/saved_model:saved_model_test_files
    //tensorflow/cc/saved_model:saved_model_half_plus_two
    //tensorflow:no_tensorflow_py_deps
    //tensorflow/tools/pip_package:win_pip_package_marker
    //tensorflow/core:image_testdata
    //tensorflow/core/kernels/cloud:bigquery_reader_ops
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/sql-databases-peewee.md

    !!! tip
        Peewee also uses the term "**model**" to refer to these classes and instances that interact with the database.
    
        But Pydantic also uses the term "**model**" to refer to something different, the data validation, conversion, and documentation classes and instances.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. docs/fa/docs/features.md

    * مستندسازی خودکار data model با <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (همانطور که OpenAPI خود نیز مبتنی بر JSON Schema است).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top