Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Davison (0.33 sec)

  1. tests/test_tutorial/test_additional_responses/test_tutorial002.py

        assert response.status_code == 200, response.text
        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    def test_path_operation_img():
        shutil.copy("./docs/en/docs/img/favicon.png", "./image.png")
        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)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. docs/fr/docs/async.md

    Donc pour équilibrer tout ça, imaginez l'histoire suivante :
    
    > Vous devez nettoyer une grande et sale maison.
    
    *Oui, c'est toute l'histoire*.
    
    ---
    
    Il n'y a plus d'attente 🕙 nulle part, juste beaucoup de travail à effectuer, dans différentes pièces de la maison.
    
    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)
  3. pyproject.toml

    distribution = true
    
    [tool.pdm.build]
    source-includes = [
        "tests/",
        "docs_src/",
        "requirements*.txt",
        "scripts/",
        # For a test
        "docs/en/docs/img/favicon.png",
        ]
    
    [tool.tiangolo._internal-slim-build.packages.fastapi-slim.project]
    name = "fastapi-slim"
    
    [tool.tiangolo._internal-slim-build.packages.fastapi]
    include-optional-dependencies = ["standard"]
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/events.md

    ```Python hl_lines="22"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    ## Eventos alternativos (deprecados)
    
    !!! warning "Aviso"
        A maneira recomendada para lidar com a *inicialização* e o *encerramento* é usando o parâmetro `lifespan` da aplicação `FastAPI` como descrito acima.
    
        Você provavelmente pode pular essa parte.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. docs/en/mkdocs.yml

      - navigation.path
      - content.code.annotate
      - content.code.copy
      - content.code.select
      - navigation.tabs
      icon:
        repo: fontawesome/brands/github-alt
      logo: img/icon-white.svg
      favicon: img/favicon.png
      language: en
    repo_name: tiangolo/fastapi
    repo_url: https://github.com/tiangolo/fastapi
    edit_uri: ''
    plugins:
      search: null
      macros:
        include_yaml:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/en/docs/img/favicon.png

    favicon.png...
    PNG Image
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 04 20:56:59 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/handling-errors.md

    você receberá a versão em texto:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    ### `RequestValidationError` vs `ValidationError`
    
    !!! warning "Aviso"
        Você pode pular estes detalhes técnicos caso eles não sejam importantes para você neste momento.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. fastapi/openapi/docs.py

            ),
        ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css",
        swagger_favicon_url: Annotated[
            str,
            Doc(
                """
                The URL of the favicon to use. It is normally shown in the browser tab.
                """
            ),
        ] = "https://fastapi.tiangolo.com/img/favicon.png",
        oauth2_redirect_url: Annotated[
            Optional[str],
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_additional_responses/test_tutorial004.py

        assert response.status_code == 200, response.text
        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    def test_path_operation_img():
        shutil.copy("./docs/en/docs/img/favicon.png", "./image.png")
        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)
    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)
  10. docs/pt/docs/tutorial/path-operation-configuration.md

    # Configuração da Operação de Rota
    
    Existem vários parâmetros que você pode passar para o seu *decorador de operação de rota* para configurá-lo.
    
    !!! warning "Aviso"
        Observe que esses parâmetros são passados diretamente para o *decorador de operação de rota*, não para a sua *função de operação de rota*.
    
    ## Código de Status da Resposta
    
    Você pode definir o `status_code` (HTTP) para ser usado na resposta da sua *operação de rota*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top