Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 195 for imported (0.42 sec)

  1. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Do mesmo modo que você pode declarar mais validações e metadados para parâmetros de consulta com `Query`, você pode declarar os mesmos tipos de validações e metadados para parâmetros de rota com `Path`.
    
    ## Importe `Path`
    
    Primeiro, importe `Path` de `fastapi`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		// don't want to resolve them to their base types.
    		if *godefs {
    			break
    		}
    	}
    	p.prepareNames(f)
    	if p.rewriteCalls(f) {
    		// Add `import _cgo_unsafe "unsafe"` after the package statement.
    		f.Edit.Insert(f.offset(f.AST.Name.End()), "; import _cgo_unsafe \"unsafe\"")
    	}
    	p.rewriteRef(f)
    }
    
    // loadDefines coerces gcc into spitting out the #defines in use
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. docs/pt/docs/python-types.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    De `typing`, importe `List` (com o `L` maiúsculo):
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    Declare uma variável com a mesma sintaxe com dois pontos (`:`)
    
    Como tipo, coloque o `List` que você importou de `typing`.
    
    Como a lista é o tipo que contém algum tipo interno, você coloca o tipo dentro de colchetes:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/depmgmt/import.xml

             xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
        <modelVersion>4.1.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>import</artifactId>
        <version>0.1-SNAPSHOT</version>
        <packaging>pom</packaging>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>test</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 726 bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/body.md

    ///
    
    ## Importez le `BaseModel` de Pydantic
    
    Commencez par importer la classe `BaseModel` du module `pydantic` :
    
    {* ../../docs_src/body/tutorial001.py hl[4] *}
    
    ## Créez votre modèle de données
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/testing.md

    Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ativá-lo e instalá-lo, por exemplo:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    Importe `TestClient`.
    
    Crie um `TestClient` passando seu aplicativo **FastAPI** para ele.
    
    Crie funções com um nome que comece com `test_` (essa é a convenção padrão do `pytest`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.26.md

    - Refactored `test/e2e/framework` so that the core framework is smaller. Optional functionality like resource monitoring, log size monitoring, metrics gathering and debug information dumping must be imported by specific e2e test suites. Init packages are provided which can be imported to re-enable the functionality that traditionally was in the core framework. If you have code that no longer compiles because of this PR, you can use the script [from a commit message](https://github.com/ku...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

       ([#122056](https://github.com/kubernetes/kubernetes/pull/122056), [@dhenkel92](https://github.com/dhenkel92))
    - Improved scheduler performance when no scoring plugins were defined.
       ([#122058](https://github.com/kubernetes/kubernetes/pull/122058), [@aleksandra-malinowska](https://github.com/aleksandra-malinowska))
    - Improved scheduler performance when no scoring plugins were defined.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params-str-validations.md

    ///
    
    ## Validation additionnelle
    
    Nous allons imposer que bien que `q` soit un paramètre optionnel, dès qu'il est fourni, **sa longueur n'excède pas 50 caractères**.
    
    ## Importer `Query`
    
    Pour cela, importez d'abord `Query` depuis `fastapi` :
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *}
    
    ## Utiliser `Query` comme valeur par défaut
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/handling-errors.md

    ```Python
    from starlette.exceptions import HTTPException as StarletteHTTPException
    ```
    
    ### Re-use os manipulares de exceção do **FastAPI**
    
    Se você quer usar a exceção em conjunto com o mesmo manipulador de exceção *default* do **FastAPI**, você pode importar e re-usar esses manipuladores de exceção do `fastapi.exception_handlers`:
    
    ```Python hl_lines="2-5  15  21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top