Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for create_app (0.06 sec)

  1. tests/test_schema_extra_examples.py

    import pytest
    from fastapi import Body, Cookie, FastAPI, Header, Path, Query
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    
    
    def create_app():
        app = FastAPI()
    
        class Item(BaseModel):
            data: str
    
            model_config = ConfigDict(
                json_schema_extra={"example": {"data": "Data in schema_extra"}}
            )
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MultimapBuilder.java

        checkNonnegative(expectedKeys, "expectedKeys");
        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/StandardValueGraph.java

      /** Constructs a graph with the properties specified in {@code builder}. */
      StandardValueGraph(AbstractGraphBuilder<? super N> builder) {
        this(
            builder,
            builder.nodeOrder.<N, GraphConnections<N, V>>createMap(
                builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)),
            0L);
      }
    
      /**
       * Constructs a graph with the properties specified in {@code builder}, initialized with the given
       * node map.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ElementOrder.java

          helper.add("comparator", comparator);
        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ElementOrder.java

          helper.add("comparator", comparator);
        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/sql-databases.md

    ### Criar as Tabelas { #create-the-tables }
    
    Em seguida, adicionamos uma função que usa `SQLModel.metadata.create_all(engine)` para **criar as tabelas** para todos os *modelos de tabela*.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Criar uma Dependência de Sessão { #create-a-session-dependency }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/sql-databases.md

    ### Создание таблиц { #create-the-tables }
    
    Далее мы добавим функцию, которая использует `SQLModel.metadata.create_all(engine)`, чтобы **создать таблицы** для всех *моделей-таблиц*.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Создание зависимости Session { #create-a-session-dependency }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/sql-databases.md

    ### Crear las Tablas { #create-the-tables }
    
    Luego añadimos una función que usa `SQLModel.metadata.create_all(engine)` para **crear las tablas** para todos los *modelos de tabla*.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Crear una Dependencia de Session { #create-a-session-dependency }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    ### Create the Tables { #create-the-tables }
    
    We then add a function that uses `SQLModel.metadata.create_all(engine)` to **create the tables** for all the *table models*.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Create a Session Dependency { #create-a-session-dependency }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/sql-databases.md

    ### Die Tabellen erstellen { #create-the-tables }
    
    Dann fügen wir eine Funktion hinzu, die `SQLModel.metadata.create_all(engine)` verwendet, um die **Tabellen für alle *Tabellenmodelle* zu erstellen**.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top