Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for model1 (0.08 sec)

  1. fastapi/openapi/utils.py

    )
    from fastapi.datastructures import DefaultPlaceholder
    from fastapi.dependencies.models import Dependant
    from fastapi.dependencies.utils import get_flat_dependant, get_flat_params
    from fastapi.encoders import jsonable_encoder
    from fastapi.openapi.constants import METHODS_WITH_BODY, REF_PREFIX, REF_TEMPLATE
    from fastapi.openapi.models import OpenAPI
    from fastapi.params import Body, Param
    from fastapi.responses import Response
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/first-steps.md

    ```Python hl_lines="8"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    You can return a `dict`, `list`, singular values as `str`, `int`, etc.
    
    You can also return Pydantic models (you'll see more about that later).
    
    There are many other objects and models that will be automatically converted to JSON (including ORMs, etc). Try using your favorite ones, it's highly probable that they are already supported.
    
    ## Recap
    
    * Import `FastAPI`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  3. docs/vi/docs/features.md

    Tất cả validation được xử lí bằng những thiết lập tốt và mạnh mẽ của **Pydantic**.
    
    ### Bảo mật và xác thực
    
    Bảo mật và xác thực đã tích hợp mà không làm tổn hại tới cơ sở dữ liệu hoặc data models.
    
    Tất cả cơ chế bảo mật định nghĩa trong OpenAPI, bao gồm:
    
    * HTTP Basic.
    * **OAuth2** (với **JWT tokens**). Xem hướng dẫn [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/go.sum

    github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
    github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
    github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/oauth2-jwt.md

    Erstellen Sie eine Variable `ALGORITHM` für den Algorithmus, der zum Signieren des JWT-Tokens verwendet wird, und setzen Sie sie auf `"HS256"`.
    
    Erstellen Sie eine Variable für das Ablaufdatum des Tokens.
    
    Definieren Sie ein Pydantic-Modell, das im Token-Endpunkt für die Response verwendet wird.
    
    Erstellen Sie eine Hilfsfunktion, um einen neuen Zugriffstoken zu generieren.
    
    === "Python 3.10+"
    
        ```Python hl_lines="6  12-14  28-30  78-86"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:06 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                )
            ),
            options=save_options,
        )
        return model
    
      def _create_gather_model(self, input_type, use_variable) -> module.Module:
        class GatherModel(module.Module):
          """A simple model with a single gather."""
    
          def __init__(self, use_variable):
            """Initializes a GatherModel.
    
            Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinDslScriptsModelBuilder.kt

    import org.gradle.kotlin.dsl.support.serviceOf
    import org.gradle.tooling.model.kotlin.dsl.EditorPosition
    import org.gradle.tooling.model.kotlin.dsl.EditorReport
    import org.gradle.tooling.model.kotlin.dsl.EditorReportSeverity
    import org.gradle.tooling.model.kotlin.dsl.KotlinDslModelsParameters
    import org.gradle.tooling.model.kotlin.dsl.KotlinDslScriptModel
    import org.gradle.tooling.model.kotlin.dsl.KotlinDslScriptsModel
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 18:13:21 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/settings.md

    Importieren Sie `BaseSettings` aus Pydantic und erstellen Sie eine Unterklasse, ganz ähnlich wie bei einem Pydantic-Modell.
    
    Auf die gleiche Weise wie bei Pydantic-Modellen deklarieren Sie Klassenattribute mit Typannotationen und möglicherweise Defaultwerten.
    
    Sie können dieselben Validierungs-Funktionen und -Tools verwenden, die Sie für Pydantic-Modelle verwenden, z. B. verschiedene Datentypen und zusätzliche Validierungen mit `Field()`.
    
    === "Pydantic v2"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:14 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // 1) Saved model related optimization like decompose resource ops
      // 2) Convert composite functions like lstm/rnns, along with proper function
      // inlining & dce.
      // 3) Lower static tensor list pass.
    
      // This decomposes resource ops like ResourceGather into read-variable op
      // followed by gather. This is used when the saved model import path is used
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    Und dann validieren wir diese Daten mit dem Pydantic-Modell (wobei wir die `ValidationError`-Exception abfangen), und wenn wir beim Lesen des JWT-Tokens oder beim Validieren der Daten mit Pydantic einen Fehler erhalten, lösen wir die zuvor erstellte `HTTPException` aus.
    
    Dazu aktualisieren wir das Pydantic-Modell `TokenData` mit einem neuen Attribut `scopes`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top