Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for lists (0.14 sec)

  1. tests/test_compat.py

        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(Union[List[str], List[bytes]])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of UploadFile
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/nosql-databases.md

    📥 👥 🔜 👀 🖼 ⚙️ **<a href="https://www.couchbase.com/" class="external-link" target="_blank">🗄</a>**, <abbr title="Document here refers to a JSON object (a dict), with keys and values, and those values can also be other JSON objects, arrays (lists), numbers, strings, booleans, etc.">📄</abbr> 🧢 ☁ 💽.
    
    👆 💪 🛠️ ⚫️ 🙆 🎏 ☁ 💽 💖:
    
    * **✳**
    * **👸**
    * **✳**
    * **🇸🇲**
    * **✳**, ♒️.
    
    !!! tip
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/nosql-databases-couchbase.md

    You can adapt it to any other NoSQL database like:
    
    * **MongoDB**
    * **Cassandra**
    * **CouchDB**
    * **ArangoDB**
    * **ElasticSearch**, etc.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
    
    ## List fields with type parameter
    
    But Python has a specific way to declare lists with internal types, or "type parameters":
    
    ### Import typing's `List`
    
    In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/response-directly.md

    ## Usando el `jsonable_encoder` en una `Response`
    
    Como **FastAPI** no realiza ningún cambio en la `Response` que devuelves, debes asegurarte de que el contenido está listo.
    
    Por ejemplo, no puedes poner un modelo Pydantic en una `JSONResponse` sin primero convertirlo a un `dict` con todos los tipos de datos (como `datetime`, `UUID`, etc) convertidos a tipos compatibles con JSON.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 11:57:27 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/extra-models.md

    ## List of models
    
    The same way, you can declare responses of lists of objects.
    
    For that, use the standard Python `typing.List` (or just `list` in Python 3.9 and above):
    
    === "Python 3.9+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/extra_models/tutorial004_py39.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  7. docs/pt/docs/tutorial/query-params-str-validations.md

        "bar"
      ]
    }
    ```
    
    #### Usando `list`
    
    Você também pode utilizar o tipo `list` diretamente em vez de `List[str]`:
    
    ```Python hl_lines="7"
    {!../../../docs_src/query_params_str_validations/tutorial013.py!}
    ```
    
    !!! note "Observação"
        Tenha em mente que neste caso, o FastAPI não irá validar os conteúdos da lista.
    
    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)
  8. docs/fr/docs/external-links.md

    **FastAPI** possède une grande communauté en constante extension.
    
    Il existe de nombreux articles, outils et projets liés à **FastAPI**.
    
    Voici une liste incomplète de certains d'entre eux.
    
    !!! tip "Astuce"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 22 07:35:13 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. fastapi/dependencies/models.py

            query_params: Optional[List[ModelField]] = None,
            header_params: Optional[List[ModelField]] = None,
            cookie_params: Optional[List[ModelField]] = None,
            body_params: Optional[List[ModelField]] = None,
            dependencies: Optional[List["Dependant"]] = None,
            security_schemes: Optional[List[SecurityRequirement]] = None,
            name: Optional[str] = None,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. docs/en/docs/fastapi-people.md

    hide:
      - navigation
    ---
    
    # FastAPI People
    
    FastAPI has an amazing community that welcomes people from all backgrounds.
    
    ## Creator
    
    Hey! 👋
    
    This is me:
    
    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.maintainers %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top