Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hiroto (0.18 sec)

  1. tests/test_inherited_custom_class.py

        @property  # type: ignore
        def __class__(self):
            return uuid.UUID
    
        @property
        def __dict__(self):
            """Spoof a missing __dict__ by raising TypeError, this is how
            asyncpg.pgroto.pgproto.UUID behaves"""
            raise TypeError("vars() argument must have __dict__ attribute")
    
    
    @needs_pydanticv2
    def test_pydanticv2():
        from pydantic import field_serializer
    
        app = FastAPI()
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. docs/pt/docs/deployment/docker.md

    Usando contêineres Linux você tem diversas vantagens incluindo **segurança**, **replicabilidade**, **simplicidade**, entre outras.
    
    !!! tip "Dica"
        Está com pressa e já sabe dessas coisas? Pode ir direto para [`Dockerfile` abaixo 👇](#construindo-uma-imagem-docker-para-fastapi).
    
    
    <details>
    <summary>Visualização do Dockerfile 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. docs/pt/docs/alternatives.md

    ```
    
    Veja as similaridades em `requests.get(...)` e `@app.get(...)`.
    
    !!! check "**FastAPI** inspirado para"
        * Ter uma API simples e intuitiva.
        * Utilizar nomes de métodos HTTP (operações) diretamente, de um jeito direto e intuitivo.
        * Ter padrões sensíveis, mas customizações poderosas.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top