Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for called (0.17 sec)

  1. docs/en/docs/tutorial/response-model.md

    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/concepts.md

    * A particular program while it is **running** on the operating system, using the CPU, and storing things on memory. This is also called a **process**.
    
    ### What is a Process
    
    The word **process** is normally used in a more specific way, only referring to the thing that is running in the operating system (like in the last point above):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. docs/en/docs/async.md

    ### Other utility functions
    
    Any other utility function that you call directly can be created with normal `def` or `async def` and FastAPI won't affect the way you call it.
    
    This is in contrast to the functions that FastAPI calls for you: *path operation functions* and dependencies.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. docs/em/docs/alternatives.md

    ### <a href="https://marshmallow.readthedocs.io/en/stable/" class="external-link" target="_blank">🍭</a>
    
    1ī¸âƒŖ 👑 ⚒ đŸ’Ē 🛠ī¸ ⚙ī¸ 📊 "<abbr title="also called marshalling, conversion">🛠ī¸</abbr>" ❔ ✊ 📊 âšĒī¸âžĄī¸ 📟 (🐍) &amp; 🏭 âšĢī¸ 🔘 đŸ•ŗ 👈 đŸ’Ē 📨 🔘 🕸. đŸ–ŧ, 🏭 🎚 ⚗ 📊 âšĒī¸âžĄī¸ đŸ’Ŋ 🔘 đŸŽģ 🎚. 🏭 `datetime` 🎚 🔘 đŸŽģ, ♒ī¸.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    The `oauth2_scheme` variable is an instance of `OAuth2PasswordBearer`, but it is also a "callable".
    
    It could be called as:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    So, it can be used with `Depends`.
    
    ### Use it
    
    Now you can pass that `oauth2_scheme` in a dependency with `Depends`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. docs_src/path_operation_advanced_configuration/tutorial002.py

        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):
                route.operation_id = route.name  # in this case, 'read_items'
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 572 bytes
    - Viewed (0)
  7. docs/en/docs/advanced/async-tests.md

    ## Other Asynchronous Function Calls
    
    As the testing function is now asynchronous, you can now also call (and `await`) other `async` functions apart from sending requests to your FastAPI application in your tests, exactly as you would call them anywhere else in your code.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    # 🔗 ⏎ī¸ 🌾
    
    FastAPI 🐕‍đŸĻē 🔗 👈 <abbr title='sometimes also called "exit", "cleanup", "teardown", "close", "context managers", ...'>➕ 🔁 ⏎ī¸ 🏁</abbr>.
    
    👉, ⚙ī¸ `yield` ↩ī¸ `return`, &amp; ✍ ➕ 🔁 ⏎ī¸.
    
    !!! tip
        ⚒ 💭 ⚙ī¸ `yield` 1ī¸âƒŖ 👁 🕰.
    
    !!! note "📡 ℹ"
        🙆 đŸ”ĸ 👈 ☑ ⚙ī¸ ⏎ī¸:
    
        * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> ⚖ī¸
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    Actually, all (or most) of the web frameworks work in this same way.
    
    You never call those functions directly. They are called by your framework (in this case, **FastAPI**).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. fastapi/background.py

                Doc(
                    """
                    The function to call after the response is sent.
    
                    It can be a regular `def` function or an `async def` function.
                    """
                ),
            ],
            *args: P.args,
            **kwargs: P.kwargs,
        ) -> None:
            """
            Add a function to be called in the background after the response is sent.
    
            Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top