Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for maio (0.19 sec)

  1. tests/test_tutorial/test_async_tests/test_main.py

    import pytest
    
    from docs_src.async_tests.test_main import test_root
    
    
    @pytest.mark.anyio
    async def test_async_testing():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Oct 06 15:32:11 GMT 2021
    - 143 bytes
    - Viewed (0)
  2. docs_src/async_tests/main.py

    Felix Böhm <******@****.***> 1596909678 +0200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 08 18:01:18 GMT 2020
    - 112 bytes
    - Viewed (0)
  3. docs_src/settings/app01/main.py

    Marcelo Trylesinski <******@****.***> 1627550767 +0200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 29 09:26:07 GMT 2021
    - 267 bytes
    - Viewed (0)
  4. docs_src/settings/app03/main.py

    Sebastián Ramírez <******@****.***> 1698179166 +0400
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 412 bytes
    - Viewed (0)
  5. docs_src/sql_databases_peewee/sql_app/main.py

    Sebastián Ramírez <******@****.***> 1585249793 +0100
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Nota"
        O comando `uvicorn main:app` se refere a:
    
        * `main`: o arquivo `main.py` (o "módulo" Python).
        * `app`: o objeto criado no arquivo `main.py` com a linha `app = FastAPI()`.
        * `--reload`: faz o servidor reiniciar após mudanças de código. Use apenas para desenvolvimento.
    
    Na saída, temos:
    
    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)
  7. docs_src/sql_databases/sql_app_py39/alt_main.py

    Sebastián Ramírez <******@****.***> 1641564691 +0100
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  8. docs/pt/docs/index.md

    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    * `--reload`: faz o servidor recarregar após mudanças de código. Somente faça isso para desenvolvimento.
    
    </details>
    
    ### Verifique
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs_src/app_testing/app_b_an_py39/main.py

    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item_id not in fake_db:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. docs_src/app_testing/app_b_an_py310/main.py

    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item_id not in fake_db:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top