Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for hopper (0.16 sec)

  1. tests/test_ws_router.py

            with client.websocket_connect("/no-router/"):
                pass  # pragma: no cover
        assert e.value.code == status.WS_1000_NORMAL_CLOSURE
    
    
    def websocket_middleware(middleware_func):
        """
        Helper to create a Starlette pure websocket middleware
        """
    
        def middleware_constructor(app):
            @functools.wraps(app)
            async def wrapped_app(scope, receive, send):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. docs/en/docs/features.md

    Including external libraries also based on Pydantic, as <abbr title="Object-Relational Mapper">ORM</abbr>s, <abbr title="Object-Document Mapper">ODM</abbr>s for databases.
    
    This also means that in many cases you can pass the same object you get from a request **directly to the database**, as everything is validated automatically.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. docs/em/docs/features.md

    βœ… πŸ”’ πŸ—ƒ βš“οΈ πŸ”› Pydantic, <abbr title="Object-Relational Mapper">🐜</abbr>β“‚, <abbr title="Object-Document Mapper">🏭</abbr>β“‚ πŸ’½.
    
    πŸ‘‰ β›“ πŸ‘ˆ πŸ“š πŸ’Ό πŸ‘† πŸ’ͺ πŸšΆβ€β™€οΈ 🎏 🎚 πŸ‘† 🀚 βšͺ️➑️ πŸ“¨ **πŸ”— πŸ’½**, 🌐 βœ” πŸ”.
    
    🎏 βœ” 🎏 🌌 🀭, πŸ“š πŸ’Ό πŸ‘† πŸ’ͺ πŸšΆβ€β™€οΈ 🎚 πŸ‘† 🀚 βšͺ️➑️ πŸ’½ **πŸ”— πŸ‘©β€πŸ’»**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. .github/DISCUSSION_TEMPLATE/questions.yml

        id: description
        attributes:
          label: Description
          description: |
            What is the problem, question, or error?
    
            Write a short description telling me what you are doing, what you expect to happen, and what is currently happening.
          placeholder: |
            * Open the browser and call the endpoint `/`.
            * It returns a JSON with `{"Hello": "World"}`.
            * But I expected it to return `{"Hello": "Sara"}`.
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  5. docs/en/docs/how-to/custom-docs-ui-assets.md

    !!! tip
        The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
        If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/events.md

    !!! tip
        The `shutdown` would happen when you are **stopping** the application.
    
        Maybe you need to start a new version, or you just got tired of running it. 🀷
    
    ### Lifespan function
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/en/docs/reference/exceptions.md

    # Exceptions - `HTTPException` and `WebSocketException`
    
    These are the exceptions that you can raise to show errors to the client.
    
    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 597 bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/debugging.md

    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 17:04:16 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    # Background Tasks
    
    You can define background tasks to be run *after* returning a response.
    
    This is useful for operations that need to happen after a request, but that the client doesn't really have to be waiting for the operation to complete before receiving the response.
    
    This includes, for example:
    
    * Email notifications sent after performing an action:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body.md

    <img src="/img/tutorial/body/image02.png">
    
    ## Editor support
    
    In your editor, inside your function you will get type hints and completion everywhere (this wouldn't happen if you received a `dict` instead of a Pydantic model):
    
    <img src="/img/tutorial/body/image03.png">
    
    You also get error checks for incorrect type operations:
    
    <img src="/img/tutorial/body/image04.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top