Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tracebackF2 (0.12 sec)

  1. docs_src/dependencies/tutorial010.py

    class MySuperContextManager:
        def __init__(self):
            self.db = DBSession()
    
        def __enter__(self):
            return self.db
    
        def __exit__(self, exc_type, exc_value, traceback):
            self.db.close()
    
    
    async def get_db():
        with MySuperContextManager() as db:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 292 bytes
    - Viewed (0)
  2. docs/en/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ cd ~/code/prisoner-of-azkaban
    
    $ python main.py
    
    // Error importing sirius, it's not installed 😱
    Traceback (most recent call last):
        File "main.py", line 1, in <module>
            import sirius
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 03:16:23 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. docs/pt/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ cd ~/code/prisoner-of-azkaban
    
    $ python main.py
    
    // Erro ao importar o Sirius, ele não está instalado 😱
    Traceback (most recent call last):
        File "main.py", line 1, in <module>
            import sirius
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 10 10:37:13 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. fastapi/applications.py

        ```
        """
    
        def __init__(
            self: AppType,
            *,
            debug: Annotated[
                bool,
                Doc(
                    """
                    Boolean indicating if debug tracebacks should be returned on server
                    errors.
    
                    Read more in the
                    [Starlette docs for Applications](https://www.starlette.io/applications/#instantiating-the-application).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
Back to top