Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 420 for tipini (0.04 seconds)

  1. docs/tr/docs/tutorial/bigger-applications.md

    ---
    
    İki nokta `..`, örneğin:
    
    ```Python
    from ..dependencies import get_token_header
    ```
    
    şu anlama gelir:
    
    * Bu module’ün bulunduğu package içinden başla (`app/routers/` dizini)...
    * üst (parent) package’e çık (`app/` dizini)...
    * burada `dependencies` module’ünü bul (`app/dependencies.py` dosyası)...
    * ve oradan `get_token_header` function’ını import et.
    
    Bu doğru şekilde çalışır! 🎉
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/extra-models.md

    В OpenAPI це буде визначено як `anyOf`.
    
    Для цього використайте стандартну підказку типу Python [`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union):
    
    /// note | Примітка
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. docs_src/vibe/tutorial001_py310.py

    from typing import Any
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.vibe(
        "/vibe/",
        prompt="pls return json of users from database. make no mistakes",
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 204 bytes
    - Click Count (0)
  4. docs_src/query_params_str_validations/tutorial012_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[list[str], Query()] = ["foo", "bar"]):
        query_items = {"q": q}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 227 bytes
    - Click Count (0)
  5. pyproject.toml

        "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
        "Topic :: Internet :: WWW/HTTP",
    ]
    dependencies = [
        "starlette>=0.46.0",
        "pydantic>=2.9.0",
        "typing-extensions>=4.8.0",
        "typing-inspection>=0.4.2",
        "annotated-doc>=0.0.2",
    ]
    
    [project.urls]
    Homepage = "https://github.com/fastapi/fastapi"
    Documentation = "https://fastapi.tiangolo.com/"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. tests/test_request_params/test_form/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 285 bytes
    - Click Count (0)
  7. docs_src/security/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
  8. docs_src/security/tutorial006_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 361 bytes
    - Click Count (0)
  9. docs_src/query_params_str_validations/tutorial006c_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(min_length=3)]):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 15 16:23:59 GMT 2025
    - 301 bytes
    - Click Count (0)
  10. docs_src/query_params_str_validations/tutorial003_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[str | None, Query(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 330 bytes
    - Click Count (0)
Back to Top