Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for listFn (0.12 sec)

  1. docs/pt/docs/tutorial/body-nested-models.md

    ## Campos do tipo Lista
    
    Você pode definir um atributo como um subtipo. Por exemplo, uma `list` do Python:
    
    ```Python hl_lines="14"
    {!../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    Isso fará com que tags seja uma lista de itens mesmo sem declarar o tipo dos elementos desta lista.
    
    ## Campos do tipo Lista com um parâmetro de tipo
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. docs/es/docs/python-types.md

    Declara la variable con la misma sintaxis de los dos puntos (`:`).
    
    Pon `List` como el tipo.
    
    Como la lista es un tipo que permite tener un "sub-tipo" pones el sub-tipo en corchetes `[]`:
    
    ```Python hl_lines="4"
    {!../../docs_src/python_types/tutorial006.py!}
    ```
    
    Esto significa: la variable `items` es una `list` y cada uno de los ítems en esta lista es un `str`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/behind-a-proxy.md

    Probably in many cases the default will be that the proxy doesn't have a stripped path prefix.
    
    In a case like that (without a stripped path prefix), the proxy would listen on something like `https://myawesomeapp.com`, and then if the browser goes to `https://myawesomeapp.com/api/v1/app` and your server (e.g. Uvicorn) listens on `http://127.0.0.1:8000` the proxy (without a stripped path prefix) would access Uvicorn at the same path: `http://127.0.0.1:8000/api/v1/app`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    Das bewirkt, dass `tags` eine Liste ist, wenngleich es nichts über den Typ der Elemente der Liste aussagt.
    
    ## Listen mit Typ-Parametern als Felder
    
    Aber Python erlaubt es, Listen mit inneren Typen, auch „Typ-Parameter“ genannt, zu deklarieren.
    
    ### `List` von `typing` importieren
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/security/oauth2-scopes.md

    A própria *operação de rota* também declara o escopo, `"items"`, então ele também estará na lista de `security_scopes.scopes` passado para o `get_current_user`.
    
    Aqui está como a hierarquia de dependências e escopos parecem:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/response-model.md

    ```
    
    ////
    
    * `description: Union[str, None] = None` (oder `str | None = None` in Python 3.10) hat einen Defaultwert `None`.
    * `tax: float = 10.5` hat einen Defaultwert `10.5`.
    * `tags: List[str] = []` hat eine leere Liste als Defaultwert: `[]`.
    
    Aber Sie möchten diese vielleicht vom Resultat ausschließen, wenn Sie gar nicht gesetzt wurden.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. doc/godebug.md

    has configured without HTTP/2 support.
    
    ## Default GODEBUG Values {#default}
    
    When a GODEBUG setting is not listed in the environment variable,
    its value is derived from three sources:
    the defaults for the Go toolchain used to build the program,
    amended to match the Go version listed in `go.mod`,
    and then overridden by explicit `//go:debug` lines in the program.
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/dataclasses.md

    3. Die Datenklasse `Author` enthält eine Liste von `Item`-Datenklassen.
    
    4. Die Datenklasse `Author` wird im `response_model`-Parameter verwendet.
    
    5. Sie können andere Standard-Typannotationen mit Datenklassen als Requestbody verwenden.
    
        In diesem Fall handelt es sich um eine Liste von `Item`-Datenklassen.
    
    6. Hier geben wir ein Dictionary zurück, das `items` enthält, welches eine Liste von Datenklassen ist.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params-str-validations.md

      ]
    }
    ```
    
    #### Utiliser `list`
    
    Il est aussi possible d'utiliser directement `list` plutôt que `List[str]` :
    
    ```Python hl_lines="7"
    {!../../docs_src/query_params_str_validations/tutorial013.py!}
    ```
    
    /// note
    
    Dans ce cas-là, **FastAPI** ne vérifiera pas le contenu de la liste.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	return makeTestTargetURL(endPoint, bucketName, prefix, queryValue)
    }
    
    // return URL for listing objects in the bucket with V2 API.
    func getListObjectsV2URL(endPoint, bucketName, prefix, maxKeys, fetchOwner, encodingType, delimiter string) string {
    	queryValue := url.Values{}
    	queryValue.Set("list-type", "2") // Enables list objects V2 URL.
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top