Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 156 for tips (0.12 sec)

  1. docs/de/docs/contributing.md

    <div class="termy">
    
    ```console
    $ python -m pip install --upgrade pip
    
    ---> 100%
    ```
    
    </div>
    
    !!! tip "Tipp"
        Aktivieren Sie jedes Mal, wenn Sie ein neues Package mit `pip` in dieser Umgebung installieren, die Umgebung erneut.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  2. docs/pt/docs/alternatives.md

    Hug foi um dos primeiros frameworks a implementar a declaração de tipos de parâmetros usando Python _type hints_. Isso foi uma ótima idéia que inspirou outras ferramentas a fazer o mesmo.
    
    Ele usou tipos customizados em suas declarações ao invés dos tipos padrão Python, mas mesmo assim foi um grande passo.
    
    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)
  3. docs/pt/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Recapitulando
    
    Resumindo, você declara **uma vez** os tipos dos parâmetros, corpo etc. como parâmetros de função.
    
    Você faz com tipos padrão do Python moderno.
    
    Você não terá que aprender uma nova sintaxe, métodos ou classes de uma biblioteca específica etc.
    
    Apenas **Python** padrão.
    
    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)
  4. docs/pt/docs/tutorial/query-params-str-validations.md

    Vamos utilizar essa aplicação como exemplo:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial001.py!}
    ```
    
    O parâmetro de consulta `q` é do tipo `Union[str, None]`, o que significa que é do tipo `str` mas que também pode ser `None`, e de fato, o valor padrão é `None`, então o FastAPI saberá que não é obrigatório.
    
    !!! note "Observação"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/background-tasks.md

    ## Usando `BackgroundTasks`
    
    Primeiro, importe `BackgroundTasks` e defina um parâmetro em sua _função de operação de caminho_ com uma declaração de tipo de `BackgroundTasks`:
    
    ```Python hl_lines="1  13"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    O **FastAPI** criará o objeto do tipo `BackgroundTasks` para você e o passará como esse parâmetro.
    
    ## Criar uma função de tarefa
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon May 09 23:44:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  6. internal/fips/api.go

    // Package fips provides functionality to configure cryptographic
    // implementations compliant with FIPS 140.
    //
    // FIPS 140 [1] is a US standard for data processing that specifies
    // requirements for cryptographic modules. Software that is "FIPS 140
    // compliant" must use approved cryptographic primitives only and that
    // are implemented by a FIPS 140 certified cryptographic module.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/dependencies/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. cmd/grid.go

    		AddAuth:      newCachedAuthToken(),
    		AuthRequest:  storageServerRequestValidate,
    		BlockConnect: globalGridStart,
    		TLSConfig: &tls.Config{
    			RootCAs:          globalRootCAs,
    			CipherSuites:     fips.TLSCiphers(),
    			CurvePreferences: fips.TLSCurveIDs(),
    		},
    		// Record incoming and outgoing bytes.
    		Incoming: globalConnStats.incInternodeInputBytes,
    		Outgoing: globalConnStats.incInternodeOutputBytes,
    		TraceTo:  globalTrace,
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. internal/config/crypto.go

    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(metadataBuffer, &metadata); err != nil {
    		return nil, err
    	}
    	if fips.Enabled && metadata.Algorithm != sio.AES_256_GCM {
    		return nil, fmt.Errorf("config: unsupported encryption algorithm: %q is not supported in FIPS mode", metadata.Algorithm)
    	}
    
    	key, err := k.DecryptKey(metadata.KeyID, metadata.KMSKey, context)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

        ```
    
    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="3  7  11  45  63  104  106-114  120-123  127-133  138  154"
        {!> ../../../docs_src/security/tutorial005_py310.py!}
        ```
    
    === "Python 3.9+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top