Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for create_all (0.04 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. scripts/translate.py

            + "\n\nIn most cases, it's better to make PRs updating that file so that the LLM can do a better job generating the translations than suggesting changes in this PR."
        )
        pr = gh_repo.create_pull(title=message, body=body, base="master", head=branch_name)
        print(f"Created PR: {pr.number}")
        print("Finished")
    
    
    if __name__ == "__main__":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top