Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for generates (0.14 sec)

  1. docs/en/docs/js/termynal.js

    /**
     * termynal.js
     * A lightweight, modern and extensible animated terminal window, using
     * async/await.
     *
     * @author Ines Montani <******@****.***>
     * @version 0.0.1
     * @license MIT
     */
    
    'use strict';
    
    /** Generate a terminal widget. */
    class Termynal {
        /**
         * Construct the widget's settings.
         * @param {(string|Node)=} container - Query selector or container element.
         * @param {Object=} options - Custom settings.
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

        - advanced/testing-database.md
        - advanced/async-tests.md
        - advanced/settings.md
        - advanced/openapi-callbacks.md
        - advanced/openapi-webhooks.md
        - advanced/wsgi.md
        - advanced/generate-clients.md
      - fastapi-cli.md
      - Deployment:
        - deployment/index.md
        - deployment/versions.md
        - deployment/https.md
        - deployment/manually.md
        - deployment/concepts.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    ## Declare more metadata
    
    You can add more information about the parameter.
    
    That information will be included in the generated OpenAPI and used by the documentation user interfaces and external tools.
    
    !!! note
        Keep in mind that different tools might have different levels of OpenAPI support.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial008.py

    
    async def dependency_a():
        dep_a = generate_dep_a()
        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a=Depends(dependency_a)):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b=Depends(dependency_b)):
        dep_c = generate_dep_c()
        try:
            yield dep_c
        finally:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 455 bytes
    - Viewed (0)
  5. tests/test_dependency_contextmanager.py

        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    
    
    async def asyncgen_state_try(state: Dict[str, str] = Depends(get_state)):
        state["/async_raise"] = "asyncgen raise started"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. tests/test_local_docs.py

    import inspect
    
    from fastapi.openapi.docs import get_redoc_html, get_swagger_ui_html
    
    
    def test_strings_in_generated_swagger():
        sig = inspect.signature(get_swagger_ui_html)
        swagger_js_url = sig.parameters.get("swagger_js_url").default  # type: ignore
        swagger_css_url = sig.parameters.get("swagger_css_url").default  # type: ignore
        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  7. docs_src/path_operation_advanced_configuration/tutorial002.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item_id": "Foo"}]
    
    
    def use_route_names_as_operation_ids(app: FastAPI) -> None:
        """
        Simplify operation IDs so that generated API clients have simpler function
        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 572 bytes
    - Viewed (0)
  8. fastapi/openapi/docs.py

                It defaults to [swagger_ui_default_parameters][fastapi.openapi.docs.swagger_ui_default_parameters].
                """
            ),
        ] = None,
    ) -> HTMLResponse:
        """
        Generate and return the HTML  that loads Swagger UI for the interactive
        API docs (normally served at `/docs`).
    
        You would only call this function yourself if you needed to override some parts,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-data-types.md

            * In responses, the `set` will be converted to a `list`.
            * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`).
    * `bytes`:
        * Standard Python `bytes`.
        * In requests and responses will be treated as `str`.
        * The generated schema will specify that it's a `str` with `binary` "format".
    * `Decimal`:
        * Standard Python `Decimal`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. docs/en/overrides/partials/copyright.html

        <div class="md-copyright__highlight">
            The FastAPI trademark is owned by <a href="https://tiangolo.com" target="_blank">@tiangolo</a> and is registered in the US and across other regions
        </div>
        {% if not config.extra.generator == false %}
        Made with
        <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
            Material for MkDocs
        </a>
        {% endif %}
    HTML
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 04 20:56:59 GMT 2024
    - 450 bytes
    - Viewed (0)
Back to top