Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 261 for models3 (0.12 sec)

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

    ```Python hl_lines="1  10-13  21-24"
    {!../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    ### 创建关系
    
    现在创建关系。
    
    为此,我们使用SQLAlchemy  ORM提供的`relationship`。
    
    这将或多或少会成为一种“神奇”属性,其中表示该表与其他相关的表中的值。
    
    ```Python hl_lines="2  15  26"
    {!../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    当访问 user 中的属性`items`时,如 中`my_user.items`,它将有一个`Item`SQLAlchemy 模型列表(来自`items`表),这些模型具有指向`users`表中此记录的外键。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
        return filter_query
    ```
    
    Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/).
    
    #### `Header` Parameter Models
    
    Use Pydantic models for `Header` parameters:
    
    ```python
    from typing import Annotated
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  3. docs/fr/docs/features.md

    * Documentation automatique des modèles de données avec <a href="http://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (comme OpenAPI est aussi basée sur JSON Schema).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. docs/de/docs/project-generation.md

    * **JWT-Token**-Authentifizierung.
    * **SQLAlchemy**-Modelle (unabhängig von Flask-Erweiterungen, sodass sie direkt mit Celery-Workern verwendet werden können).
    * Grundlegende Startmodelle für Benutzer (ändern und entfernen Sie nach Bedarf).
    * **Alembic**-Migrationen.
    * **CORS** (Cross Origin Resource Sharing).
    * **Celery**-Worker, welche Modelle und Code aus dem Rest des Backends selektiv importieren und verwenden können.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java

     */
    package org.apache.maven.model.composition;
    
    import java.util.List;
    
    import org.apache.maven.api.model.DependencyManagement;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/it/docs/index.md

    Non c'è bisogno di imparare una nuova sintassi, metodi o classi specifici a una libreria, ecc.
    
    È normalissimo **Python 3.6+**.
    
    Per esempio, per un `int`:
    
    ```Python
    item_id: int
    ```
    
    o per un modello `Item` più complesso:
    
    ```Python
    item: Item
    ```
    
    ...e con quella singola dichiarazione hai in cambio:
    
    * Supporto per gli editor di testo, incluso:
        * Autocompletamento.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. migrator.go

    	// apply scopes to migrator
    	for len(tx.Statement.scopes) > 0 {
    		tx = tx.executeScopes()
    	}
    
    	return tx.Dialector.Migrator(tx.Session(&Session{}))
    }
    
    // AutoMigrate run auto migration for given models
    func (db *DB) AutoMigrate(dst ...interface{}) error {
    	return db.Migrator().AutoMigrate(dst...)
    }
    
    // ViewOption view option
    type ViewOption struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. test-site/app/models/ContentsCreator.java

    package models;
    
    import components.*;
    import org.apache.http.HttpResponse;
    import org.apache.http.HttpStatus;
    import org.apache.http.client.HttpClient;
    import org.apache.http.client.config.RequestConfig;
    import org.apache.http.client.methods.HttpGet;
    import org.apache.http.client.methods.HttpUriRequest;
    import org.apache.http.impl.client.HttpClientBuilder;
    import org.apache.http.util.EntityUtils;
    import play.Logger;
    
    import java.util.*;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  9. test-site/conf/application.conf

    # evolutionplugin=disabled
    
    # Ebean configuration
    # ~~~~~
    # You can declare as many Ebean servers as you want.
    # By convention, the default server is named `default`
    #
    # ebean.default="models.*"
    
    # Logger
    # ~~~~~
    # You can also configure logback (http://logback.qos.ch/),
    # by providing an application-logger.xml file in the conf directory.
    
    # Root logger:
    logger.root=ERROR
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    Using this same trick, you could use a Pydantic model to define the JSON Schema that is then included in the custom OpenAPI schema section for the *path operation*.
    
    And you could do this even if the data type in the request is not JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top