Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for create_all (0.07 sec)

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

    ### Criar as Tabelas
    
    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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/sql-databases.md

    ### 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. tests/test_schema_extra_examples.py

    from dirty_equals import IsDict
    from fastapi import Body, Cookie, FastAPI, Header, Path, Query
    from fastapi._compat import PYDANTIC_V2
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    
    
    def create_app():
        app = FastAPI()
    
        class Item(BaseModel):
            data: str
    
            if PYDANTIC_V2:
                model_config = ConfigDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  4. .github/actions/people/app/main.py

        logging.info("Pushing branch")
        subprocess.run(["git", "push", "origin", branch_name], check=True)
        logging.info("Creating PR")
        pr = repo.create_pull(title=message, body=message, base="master", head=branch_name)
        logging.info(f"Created PR: {pr.number}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
Back to top