Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for Hafner (0.39 sec)

  1. tests/test_tutorial/test_sql_databases/test_testing_databases.py

        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app.tests import test_sql_app
    
        # Ensure import side effects are re-executed
        importlib.reload(test_sql_app)
        test_sql_app.test_create_user()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 788 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "type": "string",
                                    "format": "duration",
                                }
                            )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "type": "string",
                                    "format": "duration",
                                }
                            )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "type": "string",
                                    "format": "duration",
                                }
                            )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. ci/official/wheel_test/test_import_api_packages.py

    It uses the `_api/v2/api_packages.txt` file from the local wheel file.
    The `_api/v2/api_packages.txt` file is created during the process of generating
    TensorFlow API v2 init files and is stored in the wheel file after the build.
    
    See README.md file for "how to run" instruction.
    """
    
    import logging
    import unittest
    import pkg_resources
    
    logging.basicConfig(level=logging.INFO)
    
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py

    
    @pytest.fixture(scope="module")
    def client():
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app import alt_main
    
        # Ensure import side effects are re-executed
        importlib.reload(alt_main)
    
        with TestClient(alt_main.app) as c:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. configure.py

        n_ask_attempts: (Integer) Number of times to query for valid input before
          raising an error and quitting.
    
      Returns:
        [String] The value of var_name after querying for input.
    
      Raises:
        UserInputError: if a query has been attempted n_ask_attempts times without
          success, assume that the user has made a scripting error, and will
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. fastapi/routing.py

    ) -> Callable[[WebSocket], Coroutine[Any, Any, Any]]:
        async def app(websocket: WebSocket) -> None:
            async with AsyncExitStack() as async_exit_stack:
                # TODO: remove this scope later, after a few releases
                # This scope fastapi_astack is no longer used by FastAPI, kept for
                # compatibility, just in case
                websocket.scope["fastapi_astack"] = async_exit_stack
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top