Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ideas (0.22 sec)

  1. tests/test_compat.py

        # 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
        # and other types, but I'm not even sure it's a good idea to support it as a first
        # class "feature"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. scripts/mkdocs_hooks.py

                        first_child.read_source(config=config)
                        new_title = first_child.title or new_title
                # Creating a new section makes it render it collapsed by default
                # no idea why, so, let's just modify the existing one
                # new_section = Section(title=new_title, children=new_children)
                item.title = new_title
                item.children = new_children
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    avoid using features added in OpenAPI 3.1.0, it might work for your
                    use case.
    
                    This is not passed as a parameter to the `FastAPI` class to avoid
                    giving the false idea that FastAPI would generate a different OpenAPI
                    schema. It is only available as an attribute.
    
                    **Example**
    
                    ```python
                    from fastapi import FastAPI
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top