Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,000 for Fastapi (0.07 sec)

  1. docs/de/docs/how-to/graphql.md

    Hier sind einige der **GraphQL**-Bibliotheken, welche **ASGI** unterstรผtzen. Diese kรถnnten Sie mit **FastAPI** verwenden:
    
    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> ๐Ÿ“
        * Mit <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">Dokumentation fรผr FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/response-cookies.md

    `Response` ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ์‘๋‹ต์„ ์ง์ ‘ ๋ฐ˜ํ™˜ํ•˜๋Š” ๊ฒฝ์šฐ, FastAPI๋Š” ์ด๋ฅผ ์ง์ ‘ ๋ฐ˜ํ™˜ํ•œ๋‹ค๋Š” ์ ์— ์œ ์˜ํ•˜์„ธ์š”.
    
    ๋”ฐ๋ผ์„œ ๋ฐ์ดํ„ฐ๊ฐ€ ์˜ฌ๋ฐ”๋ฅธ ์œ ํ˜•์ธ์ง€ ํ™•์ธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ: `JSONResponse`๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ๊ฒฝ์šฐ, JSON๊ณผ ํ˜ธํ™˜๋˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.
    
    ๋˜ํ•œ `response_model`๋กœ ๊ฑธ๋Ÿฌ์ ธ์•ผ ํ•  ๋ฐ์ดํ„ฐ๊ฐ€ ์ „๋‹ฌ๋˜์ง€ ์•Š๋„๋ก ํ™•์ธํ•˜์„ธ์š”.
    
    ///
    
    ### ์ถ”๊ฐ€ ์ •๋ณด
    
    /// note | "๊ธฐ์ˆ ์  ์„ธ๋ถ€์‚ฌํ•ญ"
    
    `from starlette.responses import Response` ๋˜๋Š” `from starlette.responses import JSONResponse`๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:32:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocketDisconnect
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial002_an_py310 import app
    
        return app
    
    
    @needs_py310
    def test_main(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/index.md

    /// info
    
    FastAPI unterstรผtzt (und empfiehlt die Verwendung von) `Annotated` seit Version 0.95.0.
    
    Wenn Sie eine รคltere Version haben, werden Sie Fehler angezeigt bekommen, wenn Sie versuchen, `Annotated` zu verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/handling-errors.md

        "size": "XL"
      }
    }
    ```
    
    #### FastAPI `HTTPException` ๐Ÿ†š ๐Ÿ’ƒ `HTTPException`
    
    **FastAPI** โœ”๏ธ ๐Ÿšฎ ๐Ÿ‘ `HTTPException`.
    
    &amp; **FastAPI**'โ“‚ `HTTPException` โŒ ๐ŸŽ“ ๐Ÿ˜– โšช๏ธโžก๏ธ ๐Ÿ’ƒ `HTTPException` โŒ ๐ŸŽ“.
    
    ๐Ÿ•ด ๐Ÿ”บ, ๐Ÿ‘ˆ **FastAPI**'โ“‚ `HTTPException` โœ” ๐Ÿ‘† ๐Ÿšฎ ๐ŸŽš ๐Ÿ”Œ ๐Ÿ“จ.
    
    ๐Ÿ‘‰ ๐Ÿ’ช/โš™๏ธ ๐Ÿ”˜ โœณ 2๏ธโƒฃ.0๏ธโƒฃ &amp; ๐Ÿ’‚โ€โ™‚ ๐Ÿš™.
    
    , ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšง ๐Ÿ™‹โ€โ™€ **FastAPI**'โ“‚ `HTTPException` ๐Ÿ›Ž ๐Ÿ‘† ๐Ÿ“Ÿ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. docs/ja/docs/deployment/versions.md

    **FastAPI** ใงใฏ้žๅธธใซ็ฐกๅ˜ใซๅฎŸ็พใงใใพใ™ (StarletteใฎใŠใ‹ใ’ใง)ใ€‚ใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใ‚’็ขบ่ชใ—ใฆไธ‹ใ•ใ„: [ใƒ†ใ‚นใƒˆ](../tutorial/testing.md){.internal-link target=_blank}
    
    ใƒ†ใ‚นใƒˆใ‚’ๅŠ ใˆใŸๅพŒใงใ€**FastAPI** ใฎใƒใƒผใ‚ธใƒงใƒณใ‚’ใ‚ˆใ‚Šๆœ€ๆ–ฐใฎใ‚‚ใฎใซใ‚ขใƒƒใƒ—ใ‚ฐใƒฌใƒผใƒ‰ใ—ใ€ใƒ†ใ‚นใƒˆใ‚’ๅฎŸ่กŒใ™ใ‚‹ใ“ใจใงๅ…จใฆใฎใ‚ณใƒผใƒ‰ใŒๆญฃๅธธใซๅ‹•ไฝœใ™ใ‚‹ใ‹็ขบ่ชใงใใพใ™ใ€‚
    
    ๅ…จใฆใŒๅ‹•ไฝœใ™ใ‚‹ใ‹ใ€ไฟฎๆญฃใ‚’่กŒใฃใŸไธŠใงๅ…จใฆใฎใƒ†ใ‚นใƒˆใ‚’้€š้Žใ—ใŸๅ ดๅˆใ€ไฝฟ็”จใ—ใฆใ„ใ‚‹`fastapi` ใฎใƒใƒผใ‚ธใƒงใƒณใ‚’ใ‚ˆใ‚Šๆœ€ๆ–ฐใฎใƒใƒผใ‚ธใƒงใƒณใซๅ›บๅฎšใงใใพใ™ใ€‚
    
    ## Starletteใซใคใ„ใฆ
    
    `Starlette` ใฎใƒใƒผใ‚ธใƒงใƒณใฏๅ›บๅฎšใ™ในใใงใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚
    
    **FastAPI** ใฏใ€ใƒใƒผใ‚ธใƒงใƒณๆฏŽใซStarletteใฎใ‚ˆใ‚Šๆ–ฐใ—ใ„ใƒใƒผใ‚ธใƒงใƒณใ‚’ไฝฟ็”จใ—ใพใ™ใ€‚
    
    ใ‚ˆใฃใฆใ€ๆœ€้ฉใชStarletteใฎใƒใƒผใ‚ธใƒงใƒณ้ธๆŠžใ‚’**FastAPI** ใซไปปใ›ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. tests/test_security_api_key_cookie.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. tests/test_security_api_key_cookie_description.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key", description="An API Cookie Key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/graphql.md

    ## GraphQL Libraries
    
    Here are some of the **GraphQL** libraries that have **ASGI** support. You could use them with **FastAPI**:
    
    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> ๐Ÿ“
        * With <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">docs for FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs_src/templates/tutorial001.py

    from fastapi import FastAPI, Request
    from fastapi.responses import HTMLResponse
    from fastapi.staticfiles import StaticFiles
    from fastapi.templating import Jinja2Templates
    
    app = FastAPI()
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    templates = Jinja2Templates(directory="templates")
    
    
    @app.get("/items/{id}", response_class=HTMLResponse)
    async def read_item(request: Request, id: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:12:34 UTC 2023
    - 521 bytes
    - Viewed (0)
Back to top