Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,000 for Fastapi (0.05 sec)

  1. docs/fr/docs/deployment/docker.md

    ```Dockerfile
    FROM python:3.7
    
    RUN pip install fastapi uvicorn
    
    EXPOSE 80
    
    COPY ./app /app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    ## Créer le code **FastAPI**.
    
    * Créer un répertoire `app` et y entrer.
    * Créez un fichier `main.py` avec :
    
    ```Python
    from typing import Optional
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. SECURITY.md

    # Security Policy
    
    Security is very important for FastAPI and its community. 🔒
    
    Learn more about it below. 👇
    
    ## Versions
    
    The latest version of FastAPI is supported.
    
    You are encouraged to [write tests](https://fastapi.tiangolo.com/tutorial/testing/) for your application and update your FastAPI version frequently after ensuring that your tests are passing. This way you will benefit from the latest features, bug fixes, and **security fixes**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Sep 11 16:15:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/body-multiple-params.md

    ///
    
    FastAPI는 요청을 자동으로 변환해, 매개변수의 `item`과 `user`를 특별한 내용으로 받도록 할 것입니다.
    
    복합 데이터의 검증을 수행하고 OpenAPI 스키마 및 자동 문서를 문서화합니다.
    
    ## 본문 내의 단일 값
    
    쿼리 및 경로 매개변수에 대한 추가 데이터를 정의하는 `Query`와 `Path`와 같이, **FastAPI**는 동등한 `Body`를 제공합니다.
    
    예를 들어 이전의 모델을 확장하면, `item`과 `user`와 동일한 본문에 또 다른 `importance`라는 키를 갖도록 할 수있습니다.
    
    단일 값을 그대로 선언한다면, **FastAPI**는 쿼리 매개변수로 가정할 것입니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/es/docs/benchmarks.md

        * Si estás comparando Starlette, compáralo con Sanic, Flask, Django, etc. Frameworks web (o microframeworks).
    * **FastAPI**:
        * De la misma manera que Starlette usa Uvicorn y no puede ser más rápido que él, **FastAPI** usa Starlette, por lo que no puede ser más rápido que él.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Feb 07 11:39:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. docs/fr/docs/benchmarks.md

    * **FastAPI** :
        * Comme Starlette, FastAPI utilise Uvicorn et ne peut donc pas être plus rapide que ce dernier.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 27 18:49:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    And then it just returns a `dict` containing those values.
    
    /// info
    
    FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
    If you have an older version, you would get errors when trying to use `Annotated`.
    
    Make sure you [Upgrade the FastAPI version](../../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top