Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for vide (0.28 sec)

  1. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 487 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_response/test_tutorial009b.py

    from docs_src.custom_response.tutorial009b import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009b.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 490 bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial009.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    async def main():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 202 bytes
    - Viewed (0)
  4. docs_src/response_cookies/tutorial001.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.post("/cookie/")
    def create_cookie():
        content = {"message": "Come to the dark side, we have cookies"}
        response = JSONResponse(content=content)
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 344 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py39.tests import test_sql_app
    
        # Ensure import side effects are re-executed
        importlib.reload(test_sql_app)
        test_sql_app.test_create_user()
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 822 bytes
    - Viewed (0)
  6. docs/fr/docs/advanced/additional-status-codes.md

    # Codes HTTP supplémentaires
    
    Par défaut, **FastAPI** renverra les réponses à l'aide d'une structure de données `JSONResponse`, en plaçant la réponse de votre  *chemin d'accès* à l'intérieur de cette `JSONResponse`.
    
    Il utilisera le code HTTP par défaut ou celui que vous avez défini dans votre *chemin d'accès*.
    
    ## Codes HTTP supplémentaires
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/data/sponsors.yml

        title: Simplify Full Stack Development with FastAPI & MongoDB
        img: https://fastapi.tiangolo.com/img/sponsors/mongodb.png
    silver:
      - url: https://training.talkpython.fm/fastapi-courses
        title: FastAPI video courses on demand from people you trust
        img: https://fastapi.tiangolo.com/img/sponsors/talkpython-v2.jpg
      - url: https://github.com/deepset-ai/haystack/
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Mar 25 23:10:11 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/fr/docs/deployment/manually.md

        ```
    
        </div>
    
    !!! warning
         N'oubliez pas de supprimer l'option `--reload` si vous l'utilisiez.
    
         L'option `--reload` consomme beaucoup plus de ressources, est plus instable, etc.
    
         Cela aide beaucoup pendant le **développement**, mais vous **ne devriez pas** l'utiliser en **production**.
    
    ## Hypercorn avec Trio
    
    Starlette et **FastAPI** sont basés sur
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 04 12:02:09 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. docs/pt/docs/help-fastapi.md

    É possível [contribuir](contributing.md){.internal-link target=_blank} no código fonte fazendo Pull Requests, por exemplo:
    
    * Para corrigir um erro de digitação que você encontrou na documentação.
    * Para compartilhar um artigo, video, ou podcast criados por você sobre o FastAPI <a href="https://github.com/tiangolo/fastapi/edit/master/docs/en/data/external_links.yml" class="external-link" target="_blank">editando este arquivo</a>.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. docs/tr/docs/features.md

    ---
    hide:
      - navigation
    ---
    
    # Özelikler
    
    ## FastAPI özellikleri
    
    **FastAPI** sana bunları sağlıyor
    
    ### Açık standartları temel alır
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top