├── .github ├── blunderbuss.yml ├── pull_request_template.md ├── release-please.yml ├── renovate.json └── workflows │ ├── buildpack-integration-test.yml │ ├── codeql.yml │ ├── conformance-asgi.yml │ ├── conformance.yml │ ├── dependency-review.yml │ ├── lint.yml │ ├── release.yml │ ├── scorecard.yml │ └── unit.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── DEVELOPMENT.md ├── LICENSE ├── README.md ├── conftest.py ├── examples ├── README.md ├── cloud_run_async │ ├── README.md │ ├── main.py │ ├── requirements.txt │ └── send_cloud_event.py ├── cloud_run_cloud_events │ ├── Dockerfile │ ├── README.md │ ├── main.py │ ├── requirements.txt │ └── send_cloud_event.py ├── cloud_run_decorator │ ├── Dockerfile │ ├── README.md │ ├── main.py │ └── requirements.txt ├── cloud_run_event │ ├── Dockerfile │ ├── main.py │ └── requirements.txt ├── cloud_run_http │ ├── Dockerfile │ ├── README.md │ ├── main.py │ └── requirements.txt ├── cloud_run_streaming_http │ ├── README.md │ ├── main.py │ └── requirements.txt ├── docker-compose │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── main.py │ └── requirements.txt └── skaffold │ ├── README.md │ ├── k8s │ ├── goodbye.yaml │ ├── hello.yaml │ └── ingress.yaml │ ├── main.py │ ├── requirements.txt │ └── skaffold.yaml ├── pyproject.toml ├── setup.cfg ├── setup.py ├── src ├── functions_framework │ ├── __init__.py │ ├── __main__.py │ ├── _cli.py │ ├── _function_registry.py │ ├── _http │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── flask.py │ │ └── gunicorn.py │ ├── _typed_event.py │ ├── aio │ │ └── __init__.py │ ├── background_event.py │ ├── event_conversion.py │ ├── exceptions.py │ ├── execution_id.py │ ├── py.typed │ └── request_timeout.py └── google │ ├── __init__.py │ └── cloud │ ├── __init__.py │ ├── functions │ ├── __init__.py │ └── context.py │ ├── functions_v1 │ ├── __init__.py │ └── context.py │ └── functions_v1beta2 │ ├── __init__.py │ └── context.py ├── tests ├── conformance │ ├── async_main.py │ ├── main.py │ └── prerun.sh ├── test_aio.py ├── test_asgi.py ├── test_cli.py ├── test_cloud_event_functions.py ├── test_convert.py ├── test_data │ ├── firebase-auth-cloud-event-output.json │ ├── firebase-auth-legacy-input.json │ ├── firebase-db-cloud-event-output.json │ ├── firebase-db-legacy-input.json │ ├── pubsub_text-cloud-event-output.json │ └── pubsub_text-legacy-input.json ├── test_decorator_functions.py ├── test_execution_id.py ├── test_execution_id_async.py ├── test_function_registry.py ├── test_functions.py ├── test_functions │ ├── background_load_error │ │ └── main.py │ ├── background_missing_dependency │ │ └── main.py │ ├── background_multiple_entry_points │ │ └── main.py │ ├── background_trigger │ │ └── main.py │ ├── cloud_events │ │ ├── async_empty_data.py │ │ ├── async_main.py │ │ ├── converted_background_event.py │ │ ├── empty_data.py │ │ └── main.py │ ├── decorators │ │ ├── async_decorator.py │ │ └── decorator.py │ ├── errorhandler │ │ └── main.py │ ├── execution_id │ │ ├── async_main.py │ │ └── main.py │ ├── flask_current_app │ │ └── main.py │ ├── http_check_env │ │ ├── async_main.py │ │ └── main.py │ ├── http_check_severity │ │ └── main.py │ ├── http_flask_render_template │ │ ├── main.py │ │ └── templates │ │ │ └── hello.html │ ├── http_log_exception │ │ └── main.py │ ├── http_method_check │ │ └── main.py │ ├── http_request_check │ │ ├── async_main.py │ │ └── main.py │ ├── http_streaming │ │ ├── async_main.py │ │ └── main.py │ ├── http_trigger │ │ ├── async_main.py │ │ └── main.py │ ├── http_trigger_sleep │ │ ├── async_main.py │ │ └── main.py │ ├── http_with_import │ │ ├── async_main.py │ │ ├── foo.py │ │ └── main.py │ ├── missing_function_file │ │ └── dummy_file │ ├── module_is_correct │ │ └── main.py │ ├── relative_imports │ │ ├── main.py │ │ └── test.py │ ├── returns_none │ │ └── main.py │ ├── timeout │ │ └── main.py │ └── typed_events │ │ ├── mismatch_types.py │ │ ├── missing_from_dict.py │ │ ├── missing_parameter.py │ │ ├── missing_to_dict.py │ │ ├── missing_type.py │ │ └── typed_event.py ├── test_http.py ├── test_main.py ├── test_samples.py ├── test_timeouts.py ├── test_typed_event_functions.py ├── test_typing.py └── test_view_functions.py └── tox.ini /.github/blunderbuss.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/release-please.yml -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/buildpack-integration-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/buildpack-integration-test.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/conformance-asgi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/conformance-asgi.yml -------------------------------------------------------------------------------- /.github/workflows/conformance.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/conformance.yml -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/dependency-review.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/scorecard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/scorecard.yml -------------------------------------------------------------------------------- /.github/workflows/unit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.github/workflows/unit.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /DEVELOPMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/DEVELOPMENT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/README.md -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/conftest.py -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/cloud_run_async/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_async/README.md -------------------------------------------------------------------------------- /examples/cloud_run_async/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_async/main.py -------------------------------------------------------------------------------- /examples/cloud_run_async/requirements.txt: -------------------------------------------------------------------------------- 1 | functions-framework>=3.9.2,<4.0.0 2 | 3 | # For testing 4 | httpx<=0.28.1 5 | -------------------------------------------------------------------------------- /examples/cloud_run_async/send_cloud_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_async/send_cloud_event.py -------------------------------------------------------------------------------- /examples/cloud_run_cloud_events/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_cloud_events/Dockerfile -------------------------------------------------------------------------------- /examples/cloud_run_cloud_events/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_cloud_events/README.md -------------------------------------------------------------------------------- /examples/cloud_run_cloud_events/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_cloud_events/main.py -------------------------------------------------------------------------------- /examples/cloud_run_cloud_events/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_cloud_events/requirements.txt -------------------------------------------------------------------------------- /examples/cloud_run_cloud_events/send_cloud_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_cloud_events/send_cloud_event.py -------------------------------------------------------------------------------- /examples/cloud_run_decorator/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_decorator/Dockerfile -------------------------------------------------------------------------------- /examples/cloud_run_decorator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_decorator/README.md -------------------------------------------------------------------------------- /examples/cloud_run_decorator/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_decorator/main.py -------------------------------------------------------------------------------- /examples/cloud_run_decorator/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_decorator/requirements.txt -------------------------------------------------------------------------------- /examples/cloud_run_event/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_event/Dockerfile -------------------------------------------------------------------------------- /examples/cloud_run_event/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_event/main.py -------------------------------------------------------------------------------- /examples/cloud_run_event/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_event/requirements.txt -------------------------------------------------------------------------------- /examples/cloud_run_http/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_http/Dockerfile -------------------------------------------------------------------------------- /examples/cloud_run_http/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_http/README.md -------------------------------------------------------------------------------- /examples/cloud_run_http/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_http/main.py -------------------------------------------------------------------------------- /examples/cloud_run_http/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_http/requirements.txt -------------------------------------------------------------------------------- /examples/cloud_run_streaming_http/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_streaming_http/README.md -------------------------------------------------------------------------------- /examples/cloud_run_streaming_http/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/cloud_run_streaming_http/main.py -------------------------------------------------------------------------------- /examples/cloud_run_streaming_http/requirements.txt: -------------------------------------------------------------------------------- 1 | functions-framework>=3.9.2,<4.0.0 2 | -------------------------------------------------------------------------------- /examples/docker-compose/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/docker-compose/Dockerfile -------------------------------------------------------------------------------- /examples/docker-compose/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/docker-compose/README.md -------------------------------------------------------------------------------- /examples/docker-compose/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/docker-compose/docker-compose.yml -------------------------------------------------------------------------------- /examples/docker-compose/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/docker-compose/main.py -------------------------------------------------------------------------------- /examples/docker-compose/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/docker-compose/requirements.txt -------------------------------------------------------------------------------- /examples/skaffold/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/README.md -------------------------------------------------------------------------------- /examples/skaffold/k8s/goodbye.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/k8s/goodbye.yaml -------------------------------------------------------------------------------- /examples/skaffold/k8s/hello.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/k8s/hello.yaml -------------------------------------------------------------------------------- /examples/skaffold/k8s/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/k8s/ingress.yaml -------------------------------------------------------------------------------- /examples/skaffold/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/main.py -------------------------------------------------------------------------------- /examples/skaffold/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/requirements.txt -------------------------------------------------------------------------------- /examples/skaffold/skaffold.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/examples/skaffold/skaffold.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/setup.py -------------------------------------------------------------------------------- /src/functions_framework/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/__init__.py -------------------------------------------------------------------------------- /src/functions_framework/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/__main__.py -------------------------------------------------------------------------------- /src/functions_framework/_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_cli.py -------------------------------------------------------------------------------- /src/functions_framework/_function_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_function_registry.py -------------------------------------------------------------------------------- /src/functions_framework/_http/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_http/__init__.py -------------------------------------------------------------------------------- /src/functions_framework/_http/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_http/asgi.py -------------------------------------------------------------------------------- /src/functions_framework/_http/flask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_http/flask.py -------------------------------------------------------------------------------- /src/functions_framework/_http/gunicorn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_http/gunicorn.py -------------------------------------------------------------------------------- /src/functions_framework/_typed_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/_typed_event.py -------------------------------------------------------------------------------- /src/functions_framework/aio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/aio/__init__.py -------------------------------------------------------------------------------- /src/functions_framework/background_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/background_event.py -------------------------------------------------------------------------------- /src/functions_framework/event_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/event_conversion.py -------------------------------------------------------------------------------- /src/functions_framework/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/exceptions.py -------------------------------------------------------------------------------- /src/functions_framework/execution_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/execution_id.py -------------------------------------------------------------------------------- /src/functions_framework/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/functions_framework/request_timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/functions_framework/request_timeout.py -------------------------------------------------------------------------------- /src/google/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/__init__.py -------------------------------------------------------------------------------- /src/google/cloud/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/__init__.py -------------------------------------------------------------------------------- /src/google/cloud/functions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/functions/__init__.py -------------------------------------------------------------------------------- /src/google/cloud/functions/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/functions/context.py -------------------------------------------------------------------------------- /src/google/cloud/functions_v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/functions_v1/__init__.py -------------------------------------------------------------------------------- /src/google/cloud/functions_v1/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/functions_v1/context.py -------------------------------------------------------------------------------- /src/google/cloud/functions_v1beta2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/functions_v1beta2/__init__.py -------------------------------------------------------------------------------- /src/google/cloud/functions_v1beta2/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/src/google/cloud/functions_v1beta2/context.py -------------------------------------------------------------------------------- /tests/conformance/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/conformance/async_main.py -------------------------------------------------------------------------------- /tests/conformance/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/conformance/main.py -------------------------------------------------------------------------------- /tests/conformance/prerun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/conformance/prerun.sh -------------------------------------------------------------------------------- /tests/test_aio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_aio.py -------------------------------------------------------------------------------- /tests/test_asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_asgi.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_cloud_event_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_cloud_event_functions.py -------------------------------------------------------------------------------- /tests/test_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_convert.py -------------------------------------------------------------------------------- /tests/test_data/firebase-auth-cloud-event-output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_data/firebase-auth-cloud-event-output.json -------------------------------------------------------------------------------- /tests/test_data/firebase-auth-legacy-input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_data/firebase-auth-legacy-input.json -------------------------------------------------------------------------------- /tests/test_data/firebase-db-cloud-event-output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_data/firebase-db-cloud-event-output.json -------------------------------------------------------------------------------- /tests/test_data/firebase-db-legacy-input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_data/firebase-db-legacy-input.json -------------------------------------------------------------------------------- /tests/test_data/pubsub_text-cloud-event-output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_data/pubsub_text-cloud-event-output.json -------------------------------------------------------------------------------- /tests/test_data/pubsub_text-legacy-input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_data/pubsub_text-legacy-input.json -------------------------------------------------------------------------------- /tests/test_decorator_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_decorator_functions.py -------------------------------------------------------------------------------- /tests/test_execution_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_execution_id.py -------------------------------------------------------------------------------- /tests/test_execution_id_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_execution_id_async.py -------------------------------------------------------------------------------- /tests/test_function_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_function_registry.py -------------------------------------------------------------------------------- /tests/test_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions.py -------------------------------------------------------------------------------- /tests/test_functions/background_load_error/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/background_load_error/main.py -------------------------------------------------------------------------------- /tests/test_functions/background_missing_dependency/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/background_missing_dependency/main.py -------------------------------------------------------------------------------- /tests/test_functions/background_multiple_entry_points/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/background_multiple_entry_points/main.py -------------------------------------------------------------------------------- /tests/test_functions/background_trigger/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/background_trigger/main.py -------------------------------------------------------------------------------- /tests/test_functions/cloud_events/async_empty_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/cloud_events/async_empty_data.py -------------------------------------------------------------------------------- /tests/test_functions/cloud_events/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/cloud_events/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/cloud_events/converted_background_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/cloud_events/converted_background_event.py -------------------------------------------------------------------------------- /tests/test_functions/cloud_events/empty_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/cloud_events/empty_data.py -------------------------------------------------------------------------------- /tests/test_functions/cloud_events/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/cloud_events/main.py -------------------------------------------------------------------------------- /tests/test_functions/decorators/async_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/decorators/async_decorator.py -------------------------------------------------------------------------------- /tests/test_functions/decorators/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/decorators/decorator.py -------------------------------------------------------------------------------- /tests/test_functions/errorhandler/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/errorhandler/main.py -------------------------------------------------------------------------------- /tests/test_functions/execution_id/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/execution_id/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/execution_id/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/execution_id/main.py -------------------------------------------------------------------------------- /tests/test_functions/flask_current_app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/flask_current_app/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_check_env/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_check_env/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/http_check_env/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_check_env/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_check_severity/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_check_severity/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_flask_render_template/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_flask_render_template/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_flask_render_template/templates/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_flask_render_template/templates/hello.html -------------------------------------------------------------------------------- /tests/test_functions/http_log_exception/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_log_exception/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_method_check/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_method_check/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_request_check/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_request_check/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/http_request_check/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_request_check/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_streaming/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_streaming/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/http_streaming/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_streaming/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_trigger/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_trigger/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/http_trigger/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_trigger/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_trigger_sleep/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_trigger_sleep/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/http_trigger_sleep/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_trigger_sleep/main.py -------------------------------------------------------------------------------- /tests/test_functions/http_with_import/async_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_with_import/async_main.py -------------------------------------------------------------------------------- /tests/test_functions/http_with_import/foo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_with_import/foo.py -------------------------------------------------------------------------------- /tests/test_functions/http_with_import/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/http_with_import/main.py -------------------------------------------------------------------------------- /tests/test_functions/missing_function_file/dummy_file: -------------------------------------------------------------------------------- 1 | This is not a file with user's function. 2 | -------------------------------------------------------------------------------- /tests/test_functions/module_is_correct/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/module_is_correct/main.py -------------------------------------------------------------------------------- /tests/test_functions/relative_imports/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/relative_imports/main.py -------------------------------------------------------------------------------- /tests/test_functions/relative_imports/test.py: -------------------------------------------------------------------------------- 1 | foo = "success" 2 | -------------------------------------------------------------------------------- /tests/test_functions/returns_none/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/returns_none/main.py -------------------------------------------------------------------------------- /tests/test_functions/timeout/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/timeout/main.py -------------------------------------------------------------------------------- /tests/test_functions/typed_events/mismatch_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/typed_events/mismatch_types.py -------------------------------------------------------------------------------- /tests/test_functions/typed_events/missing_from_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/typed_events/missing_from_dict.py -------------------------------------------------------------------------------- /tests/test_functions/typed_events/missing_parameter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/typed_events/missing_parameter.py -------------------------------------------------------------------------------- /tests/test_functions/typed_events/missing_to_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/typed_events/missing_to_dict.py -------------------------------------------------------------------------------- /tests/test_functions/typed_events/missing_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/typed_events/missing_type.py -------------------------------------------------------------------------------- /tests/test_functions/typed_events/typed_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_functions/typed_events/typed_event.py -------------------------------------------------------------------------------- /tests/test_http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_http.py -------------------------------------------------------------------------------- /tests/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_main.py -------------------------------------------------------------------------------- /tests/test_samples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_samples.py -------------------------------------------------------------------------------- /tests/test_timeouts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_timeouts.py -------------------------------------------------------------------------------- /tests/test_typed_event_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_typed_event_functions.py -------------------------------------------------------------------------------- /tests/test_typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_typing.py -------------------------------------------------------------------------------- /tests/test_view_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tests/test_view_functions.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/functions-framework-python/HEAD/tox.ini --------------------------------------------------------------------------------