Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for lena (0.15 sec)

  1. docs/pt/docs/async.md

    Isso é chamado de "assíncrono" porquê o computador / programa não tem que ser "sincronizado" com a tarefa lenta, esperando pelo exato momento que a tarefa finalize, enquanto não faz nada, para ser capaz de pegar o resultado da tarefa e dar continuidade ao trabalho.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  2. docs/fr/docs/benchmarks.md

    * **Starlette** :
        * A les seconde meilleures performances après Uvicorn. Starlette utilise en réalité Uvicorn. De ce fait, il ne peut qu’être plus "lent" qu'Uvicorn car il requiert l'exécution de plus de code.
        * Cependant il nous apporte les outils pour construire une application web simple, avec un routage basé sur des chemins, etc.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:49:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. docs/fr/docs/async.md

    Donc, pendant ce temps, l'ordinateur pourra effectuer d'autres tâches, pendant que "fichier-lent" 📝 se termine.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/index.md

    !!! tip "Dica"
        As próximas seções **não são necessáriamente "avançadas"**
    
        E é possível que para seu caso de uso, a solução esteja em uma delas.
    
    ## Leia o Tutorial primeiro
    
    Você ainda pode usar a maior parte dos recursos no **FastAPI** com o conhecimento do [Tutorial - Guia de Usuário](../tutorial/index.md){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. tests/test_repeated_dependency_schema.py

    }
    
    
    def test_schema():
        response = client.get("/openapi.json")
        assert response.status_code == status.HTTP_200_OK
        actual_schema = response.json()
        assert actual_schema == schema
        assert (
            len(actual_schema["paths"]["/"]["get"]["parameters"]) == 1
        )  # primary goal of this test
    
    
    def test_response():
        response = client.get("/", headers={"someheader": "hello"})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_additional_responses/test_tutorial004.py

        response = client.get("/items/foo?img=1")
        assert response.status_code == 200, response.text
        assert response.headers["Content-Type"] == "image/png"
        assert len(response.content)
        os.remove("./image.png")
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. docs/en/data/external_links.yml

        link: https://github.com/softwarebloat/python-tracing-demo
        title: Instrument a FastAPI service adding tracing with OpenTelemetry and send/show traces in Grafana Tempo
      - author: Mikhail Rozhkov, Elena Samuylova
        author_link: https://www.linkedin.com/in/mnrozhkov/
        link: https://www.evidentlyai.com/blog/fastapi-tutorial
        title: ML serving and monitoring with FastAPI and Evidently
      - author: Visual Studio Code Team
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  8. fastapi/dependencies/utils.py

        errors: List[Dict[str, Any]] = []
        if required_params:
            field = required_params[0]
            field_info = field.field_info
            embed = getattr(field_info, "embed", None)
            field_alias_omitted = len(required_params) == 1 and not embed
            if field_alias_omitted:
                received_body = {field.alias: received_body}
    
            for field in required_params:
                loc: Tuple[str, ...]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  9. fastapi/exceptions.py

        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
            super().__init__(errors)
            self.body = body
    
        def __str__(self) -> str:
            message = f"{len(self._errors)} validation errors:\n"
            for err in self._errors:
                message += f"  {err}\n"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. fastapi/datastructures.py

        from fastapi import FastAPI, File, UploadFile
    
        app = FastAPI()
    
    
        @app.post("/files/")
        async def create_file(file: Annotated[bytes, File()]):
            return {"file_size": len(file)}
    
    
        @app.post("/uploadfile/")
        async def create_upload_file(file: UploadFile):
            return {"filename": file.filename}
        ```
        """
    
        file: Annotated[
            BinaryIO,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top