Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for long (0.16 sec)

  1. docs_src/path_operation_configuration/tutorial005_py310.py

        response_description="The created item",
    )
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
        - **price**: required
        - **tax**: if the item doesn't have tax, you can omit this
        - **tags**: a set of unique tag strings for this item
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 698 bytes
    - Viewed (0)
  2. docs_src/path_operation_configuration/tutorial004.py

    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
        - **price**: required
        - **tax**: if the item doesn't have tax, you can omit this
        - **tags**: a set of unique tag strings for this item
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 681 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py

                        },
                        "summary": "Create an item",
                        "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item",
                        "operationId": "create_item_items__post",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py

                        },
                        "summary": "Create an item",
                        "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item",
                        "operationId": "create_item_items__post",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-docs-ui-assets.md

    Start your application and go to <a href="http://127.0.0.1:8000/static/redoc.standalone.js" class="external-link" target="_blank">http://127.0.0.1:8000/static/redoc.standalone.js</a>.
    
    You should see a very long JavaScript file for **ReDoc**.
    
    It could start with something like:
    
    ```JavaScript
    /*!
     * ReDoc - OpenAPI/Swagger-generated API Reference Documentation
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. docs/em/docs/async.md

    # ๐Ÿ› ๏ธ &amp; ๐Ÿ” / โŒ›
    
    โ„น ๐Ÿ”ƒ `async def` โ• *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* &amp; ๐Ÿ–ฅ ๐Ÿ”ƒ ๐Ÿ” ๐Ÿ“Ÿ, ๐Ÿ› ๏ธ, &amp; ๐Ÿ”.
    
    ## ๐Ÿƒ โ“
    
    <abbr title="too long; didn't read"><strong>๐Ÿ†‘;๐Ÿ‘ฉโ€โš•๏ธ:</strong></abbr>
    
    ๐Ÿšฅ ๐Ÿ‘† โš™๏ธ ๐Ÿฅ‰ ๐Ÿฅณ ๐Ÿ—ƒ ๐Ÿ‘ˆ ๐Ÿ’ฌ ๐Ÿ‘† ๐Ÿค™ ๐Ÿ‘ซ โฎ๏ธ `await`, ๐Ÿ’–:
    
    ```Python
    results = await some_library()
    ```
    
    โคด๏ธ, ๐Ÿ“ฃ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* โฎ๏ธ `async def` ๐Ÿ’–:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    # Concurrency and async / await
    
    Details about the `async def` syntax for *path operation functions* and some background about asynchronous code, concurrency, and parallelism.
    
    ## In a hurry?
    
    <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr>
    
    If you are using third party libraries that tell you to call them with `await`, like:
    
    ```Python
    results = await some_library()
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py

                        },
                        "summary": "Create an item",
                        "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item",
                        "operationId": "create_item_items__post",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    ### `scope`
    
    The spec also says that the client can send another form field "`scope`".
    
    The form field name is `scope` (in singular), but it is actually a long string with "scopes" separated by spaces.
    
    Each "scope" is just a string (without spaces).
    
    They are normally used to declare specific security permissions, for example:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. scripts/docs.py

    
    def get_lang_paths() -> List[Path]:
        return sorted(docs_path.iterdir())
    
    
    def lang_callback(lang: Optional[str]) -> Union[str, None]:
        if lang is None:
            return None
        lang = lang.lower()
        return lang
    
    
    def complete_existing_lang(incomplete: str):
        lang_path: Path
        for lang_path in get_lang_paths():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
Back to top