Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,977 for Fastapi (0.07 sec)

  1. docs/em/docs/alternatives.md

    /// check | "๐Ÿ˜ฎ **FastAPI** "
    
    โ—พ-๐Ÿ› ๏ธ. โš’ โšซ๏ธ โฉ ๐ŸŒ€ & ๐Ÿ ๐Ÿงฐ & ๐Ÿ• ๐Ÿ’ช.
    
    โœ”๏ธ ๐Ÿ™… & โฉ โš™๏ธ ๐Ÿ•น โš™๏ธ.
    
    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">๐Ÿ“จ</a>
    
    **FastAPI** ๐Ÿšซ ๐Ÿค™ ๐ŸŽ› **๐Ÿ“จ**. ๐Ÿ‘ซ โ†” ๐Ÿ“ถ ๐ŸŽ.
    
    โšซ๏ธ ๐Ÿ”œ ๐Ÿค™ โš  โš™๏ธ ๐Ÿ“จ *๐Ÿ”˜* FastAPI ๐Ÿˆธ.
    
    โœ‹๏ธ, FastAPI ๐Ÿคš ๐ŸŒˆ โšช๏ธโžก๏ธ ๐Ÿ“จ.
    
    **๐Ÿ“จ** ๐Ÿ—ƒ *๐Ÿ”—* โฎ๏ธ ๐Ÿ”— (๐Ÿ‘ฉโ€๐Ÿ’ป), โช **FastAPI** ๐Ÿ—ƒ *๐Ÿ—* ๐Ÿ”— (๐Ÿ’ฝ).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial001_02_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    @app.get("/users/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 447 bytes
    - Viewed (0)
  3. docs_src/header_param_models/tutorial002_pv1_an.py

    from typing import List, Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        class Config:
            extra = "forbid"
    
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 490 bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial001.py

    from typing import List
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 457 bytes
    - Viewed (0)
  5. docs_src/query_param_models/tutorial002_pv1_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 487 bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial001_01_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> list[Item]:
        return [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 469 bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
        model_config = {
            "json_schema_extra": {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 646 bytes
    - Viewed (0)
  8. docs_src/separate_openapi_schemas/tutorial001.py

    from typing import List, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> List[Item]:
        return [
            Item(
                name="Portal Gun",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 489 bytes
    - Viewed (0)
  9. docs/de/docs/project-generation.md

    ## Full Stack FastAPI PostgreSQL
    
    GitHub: <a href="https://github.com/tiangolo/full-stack-fastapi-postgresql" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-fastapi-postgresql</a>
    
    ### Full Stack FastAPI PostgreSQL โ€“ Funktionen
    
    * Vollstรคndige **Docker**-Integration (Docker-basiert).
    * Docker-Schwarmmodus-Deployment.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. docs_src/query_param_models/tutorial002_an.py

    from typing import List
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 518 bytes
    - Viewed (0)
Back to top