Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 879 for ModelA (0.24 sec)

  1. tests/test_tuples.py

                            },
                        },
                    }
                },
                "/tuple-of-models/": {
                    "post": {
                        "summary": "Post Tuple Of Models",
                        "operationId": "post_tuple_of_models_tuple_of_models__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  2. api/maven-api-metadata/pom.xml

                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <version>1.2.0</version>
                  <models>
                    <model>src/main/mdo/metadata.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.metadata</param>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/maven-api-settings/pom.xml

                  <version>2.0.0</version>
                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <models>
                    <model>src/main/mdo/settings.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.settings</param>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/additional-responses.md

    Um beispielsweise eine weitere Response mit dem Statuscode `404` und einem Pydantic-Modell `Message` zu deklarieren, können Sie schreiben:
    
    ```Python hl_lines="18  22"
    {!../../../docs_src/additional_responses/tutorial001.py!}
    ```
    
    !!! note "Hinweis"
        Beachten Sie, dass Sie die `JSONResponse` direkt zurückgeben müssen.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:26 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    !!! info
        Keep in mind that dataclasses can't do everything Pydantic models can do.
    
        So, you might still need to use Pydantic models.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. SECURITY.md

    TensorFlow
    [**models**](https://developers.google.com/machine-learning/glossary/#model) (to
    use a term commonly used by machine learning practitioners) are expressed as
    programs that TensorFlow executes. TensorFlow programs are encoded as
    computation
    [**graphs**](https://developers.google.com/machine-learning/glossary/#graph).
    Since models are practically programs that TensorFlow executes, using untrusted
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_events/test_tutorial003.py

    from docs_src.events.tutorial003 import (
        app,
        fake_answer_to_everything_ml_model,
        ml_models,
    )
    
    
    def test_events():
        assert not ml_models, "ml_models should be empty"
        with TestClient(app) as client:
            assert ml_models["answer_to_everything"] == fake_answer_to_everything_ml_model
            response = client.get("/predict", params={"x": 2})
            assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. fastapi/openapi/utils.py

                if route.callbacks:
                    callback_flat_models.extend(get_fields_from_routes(route.callbacks))
                params = get_flat_params(route.dependant)
                request_fields_from_routes.extend(params)
    
        flat_models = callback_flat_models + list(
            body_fields_from_routes + responses_from_routes + request_fields_from_routes
        )
        return flat_models
    
    
    def get_openapi(
        *,
        title: str,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  9. schema/model_test.go

    package schema_test
    
    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    type User struct {
    	*gorm.Model
    	Name      *string
    	Age       *uint
    	Birthday  *time.Time
    	Account   *tests.Account
    	Pets      []*tests.Pet
    	Toys      []*tests.Toy `gorm:"polymorphic:Owner"`
    	CompanyID *int
    	Company   *tests.Company
    	ManagerID *uint
    	Manager   *User
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  10. docs_src/sql_databases/sql_app_py310/main.py

    from sqlalchemy.orm import Session
    
    from . import crud, models, schemas
    from .database import SessionLocal, engine
    
    models.Base.metadata.create_all(bind=engine)
    
    app = FastAPI()
    
    
    # Dependency
    def get_db():
        db = SessionLocal()
        try:
            yield db
        finally:
            db.close()
    
    
    @app.post("/users/", response_model=schemas.User)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.6K bytes
    - Viewed (0)
Back to top