Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Hafner (0.17 sec)

  1. docs_src/extra_data_types/tutorial001_an_py39.py

        process_after: Annotated[Union[timedelta, None], Body()] = None,
    ):
        start_process = start_datetime + process_after
        duration = end_datetime - start_process
        return {
            "item_id": item_id,
            "start_datetime": start_datetime,
            "end_datetime": end_datetime,
            "repeat_at": repeat_at,
            "process_after": process_after,
            "start_process": start_process,
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 861 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_testing_databases_py310.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_py310.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 14 07:19:09 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 825 bytes
    - Viewed (0)
  3. 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 14 07:19:09 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "anyOf": [
                                        {"type": "string", "format": "duration"},
                                        {"type": "null"},
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "anyOf": [
                                        {"type": "string", "format": "duration"},
                                        {"type": "null"},
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "anyOf": [
                                        {"type": "string", "format": "duration"},
                                        {"type": "null"},
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. 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 16 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. 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 14 07:19:09 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. docs_src/extra_data_types/tutorial001_py310.py

        process_after: timedelta | None = Body(default=None),
    ):
        start_process = start_datetime + process_after
        duration = end_datetime - start_process
        return {
            "item_id": item_id,
            "start_datetime": start_datetime,
            "end_datetime": end_datetime,
            "repeat_at": repeat_at,
            "process_after": process_after,
            "start_process": start_process,
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 781 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

                                    "format": "time",
                                }
                            ),
                            "process_after": IsDict(
                                {
                                    "title": "Process After",
                                    "anyOf": [
                                        {"type": "string", "format": "duration"},
                                        {"type": "null"},
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 7.8K bytes
    - Viewed (0)
Back to top