Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,235 for Parametre (0.06 seconds)

  1. docs/pt/docs/advanced/advanced-python-types.md

    ```python
    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    O parâmetro `name` é definido como `Optional[str]`, mas não é opcional; não é possível chamar a função sem o parâmetro:
    
    ```Python
    say_hi()  # Ah, não, isso gera um erro! 😱
    ```
    
    O parâmetro `name` continua obrigatório (não é opcional) porque não tem valor padrão. Ainda assim, `name` aceita `None` como valor:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    "Field nonFinalField: Nullability breaking change.",
                    "Method com.example.Source.foo(java.lang.String[]): Parameter 0 from null accepting to non-null accepting breaking change.",
                    "Constructor com.example.Source(java.lang.String[]): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    return null;
                }
            };
    
            // Test with string parameter
            Map<String, Object> stringParams = new HashMap<>();
            stringParams.put("string", "test");
            assertNotNull(queryRescorer.evaluate(stringParams));
    
            // Test with number parameter
            Map<String, Object> numberParams = new HashMap<>();
            numberParams.put("number", 123);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/testing.md

    Por exemplo:
    
    * Para passar um parâmetro *path* ou *query*, adicione-o à própria URL.
    * Para passar um corpo JSON, passe um objeto Python (por exemplo, um `dict`) para o parâmetro `json`.
    * Se você precisar enviar *Dados de Formulário* em vez de JSON, use o parâmetro `data`.
    * Para passar *headers*, use um `dict` no parâmetro `headers`.
    * Para *cookies*, um `dict` no parâmetro `cookies`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/header-param-models.md

    # Header Parameter Models { #header-parameter-models }
    
    If you have a group of related **header parameters**, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/security/first-steps.md

    In that case, **FastAPI** also provides you with the tools to build it.
    
    ///
    
    When we create an instance of the `OAuth2PasswordBearer` class we pass in the `tokenUrl` parameter. This parameter contains the URL that the client (the frontend running in the user's browser) will use to send the `username` and `password` in order to get a token.
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. docs/de/docs/how-to/configure-swagger-ui.md

    {* ../../docs_src/configure_swagger_ui/tutorial003_py310.py hl[3] *}
    
    ## Andere Parameter der Swagger-Oberfläche { #other-swagger-ui-parameters }
    
    Um alle anderen möglichen Konfigurationen zu sehen, die Sie verwenden können, lesen Sie die offizielle [Dokumentation für die Parameter der Swagger-Oberfläche](https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator* { #add-dependencies-to-the-path-operation-decorator }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    This doesn't go inside of each JSON Schema contained in OpenAPI, this goes outside, in the *path operation* directly.
    
    ### Using the `openapi_examples` Parameter { #using-the-openapi-examples-parameter }
    
    You can declare the OpenAPI-specific `examples` in FastAPI with the parameter `openapi_examples` for:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/dependencies/index.md

    E com qualquer retorno que você desejar.
    
    Neste caso, a dependência espera por:
    
    * Um parâmetro de consulta opcional `q` do tipo `str`.
    * Um parâmetro de consulta opcional `skip` do tipo `int`, e igual a `0` por padrão.
    * Um parâmetro de consulta opcional `limit` do tipo `int`, e igual a `100` por padrão.
    
    E então retorna um `dict` contendo esses valores.
    
    /// info | Informação
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top