Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for colonna (0.14 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    * a rota `/`
    * usando o  <abbr title="o método HTTP GET">operador <code>get</code></abbr>
    
    !!! info "`@decorador`"
        Essa sintaxe `@alguma_coisa` em Python é chamada de "decorador".
    
        Você o coloca em cima de uma função. Como um chapéu decorativo (acho que é daí que vem o termo).
    
        Um "decorador" pega a função abaixo e faz algo com ela.
    
    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)
  2. docs/pt/docs/python-types.md

    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Declare a variável com a mesma sintaxe de dois pontos (`:`).
    
    Como o tipo, coloque a `List`.
    
    Como a lista é um tipo que contém alguns tipos internos, você os coloca entre colchetes:
    
    ```Python hl_lines="4"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    !!! tip "Dica"
        Esses tipos internos entre colchetes são chamados de "parâmetros de tipo".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/server-workers.md

        * You can imagine that `main:app` is equivalent to a Python `import` statement like:
    
            ```Python
            from main import app
            ```
    
        * So, the colon in `main:app` would be equivalent to the Python `import` part in `from main import app`.
    
    * `--workers`: The number of worker processes to use, each will run a Uvicorn worker, in this case, 4 workers.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top