Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,962 for fastapi (0.07 sec)

  1. docs/de/docs/alternatives.md

    Was hat **FastAPI** inspiriert, ein Vergleich zu Alternativen, und was FastAPI von diesen gelernt hat.
    
    ## Einfรผhrung
    
    **FastAPI** wรผrde ohne die frรผhere Arbeit anderer nicht existieren.
    
    Es wurden zuvor viele Tools entwickelt, die als Inspiration fรผr seine Entwicklung dienten.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/index.md

    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿšซ โœ”๏ธ โœ ๐ŸŽ ๐ŸŽ“ & ๐Ÿšถโ€โ™€๏ธ โšซ๏ธ ๐Ÿ‘ฑ **FastAPI** "ยฎ" โšซ๏ธ โš–๏ธ ๐Ÿ•ณ ๐ŸŽ.
    
    ๐Ÿ‘† ๐Ÿšถโ€โ™€๏ธ โšซ๏ธ `Depends` & **FastAPI** ๐Ÿ’ญ โ” ๐ŸŽ‚.
    
    ///
    
    ##  `async` โš–๏ธ ๐Ÿšซ `async`
    
    ๐Ÿ”— ๐Ÿ”œ ๐Ÿค™ **FastAPI** (๐ŸŽ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*), ๐ŸŽ ๐Ÿšซ โœ” โช ๐Ÿ”ฌ ๐Ÿ‘† ๐Ÿ”ข.
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `async def` โš–๏ธ ๐Ÿ˜ `def`.
    
    & ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ”— โฎ๏ธ `async def` ๐Ÿ”˜ ๐Ÿ˜ `def` *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, โš–๏ธ `def` ๐Ÿ”— ๐Ÿ”˜ `async def` *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, โ™’๏ธ.
    
    โšซ๏ธ ๐Ÿšซ ๐Ÿค”. **FastAPI** ๐Ÿ”œ ๐Ÿ’ญ โšซ๏ธโ”.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocketDisconnect
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial002_an_py39 import app
    
        return app
    
    
    @needs_py39
    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/en/docs/reference/staticfiles.md

    You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc.
    
    Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/).
    
    You can import it directly from `fastapi.staticfiles`:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 391 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top