Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Glasser (0.19 sec)

  1. docs/en/docs/reference/responses.md

    # Custom Response Classes - File, HTML, Redirect, Streaming, etc.
    
    There are several custom response classes you can use to create an instance and return them directly from your *path operations*.
    
    Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
    
    You can import them directly from `fastapi.responses`:
    
    ```python
    from fastapi.responses import (
        FileResponse,
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. .cm/javadoc_on_new_files.cm

              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: This PR creates new top-level Java classes, but has no Javadoc present. Please document all top-level classes with Javadoc.
    
    is:
      java: {{ files | extensions | match(term='java') | every }}
      new: {{ source.diff.files | map(attr='original_file') | match(regex=r/^$/) | some }}
    
    colors:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/path-params.md

    ### Criando uma classe `Enum`
    
    Importe `Enum` e crie uma sub-classe que herde de `str` e de `Enum`.
    
    Por herdar de `str` a documentação da API vai ser capaz de saber que os valores devem ser do tipo `string` e assim ser capaz de mostrar eles corretamente.
    
    Assim, crie atributos de classe com valores fixos, que serão os valores válidos disponíveis.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/first-steps.md

    ### Passo 1: importe `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` é uma classe Python que fornece todas as funcionalidades para sua API.
    
    !!! note "Detalhes técnicos"
        `FastAPI` é uma classe que herda diretamente de `Starlette`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/en/docs/features.md

        * Because pydantic data structures are just instances of classes you define; auto-completion, linting, mypy and your intuition should all work properly with your validated data.
    * Validate **complex structures**:
        * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
    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)
  6. docs/fr/docs/advanced/response-directly.md

    ## Renvoyer une `Response`
    
    En fait, vous pouvez retourner n'importe quelle `Response` ou n'importe quelle sous-classe de celle-ci.
    
    !!! note "Remarque"
        `JSONResponse` est elle-même une sous-classe de `Response`.
    
    Et quand vous retournez une `Response`, **FastAPI** la transmet directement.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/en/docs/reference/websockets.md

    You can import it directly form `fastapi`:
    
    ```python
    from fastapi import WebSocketDisconnect
    ```
    
    ::: fastapi.WebSocketDisconnect
    
    ## WebSockets - additional classes
    
    Additional classes for handling WebSockets.
    
    Provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi.websockets import WebSocketDisconnect, WebSocketState
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/first-steps.md

    **FastAPI** fornece várias ferramentas, em diferentes níveis de abstração, para implementar esses recursos de segurança.
    
    Neste exemplo, nós vamos usar o **OAuth2** com o fluxo de **Senha**, usando um token **Bearer**. Fazemos isso usando a classe `OAuth2PasswordBearer`.
    
    !!! info "informação"
    	Um token "bearer" não é a única opção.
    
    	Mas é a melhor no nosso caso.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. README.md

        detail at that link.
    
    4.  Serialized forms of ALL objects are subject to change unless noted
        otherwise. Do not persist these and assume they can be read by a future
        version of the library.
    
    5.  Our classes are not designed to protect against a malicious caller. You
        should not use them for communication between trusted and untrusted code.
    
    6.  For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

    Primeiro, você precisa importar `BaseModel` do `pydantic`:
    
    ```Python hl_lines="4"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    ## Crie seu modelo de dados
    
    Então você declara seu modelo de dados como uma classe que herda `BaseModel`.
    
    Utilize os tipos Python padrão para todos os atributos:
    
    ```Python hl_lines="7-11"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top