Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
keywords="functions-framework",
packages=find_packages(where="src"),
package_data={"functions_framework": ["py.typed"]},
namespace_packages=["google", "google.cloud"],
package_dir={"": "src"},
python_requires=">=3.5, <4",
install_requires=[
Expand Down
2 changes: 1 addition & 1 deletion src/functions_framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
execution_id,
)
from functions_framework.background_event import BackgroundEvent
from functions_framework.context import Context
from functions_framework.exceptions import (
EventConversionException,
FunctionsFrameworkException,
MissingSourceException,
)
from google.cloud.functions.context import Context

_FUNCTION_STATUS_HEADER_FIELD = "X-Google-Status"
_CRASH = "crash"
Expand Down
2 changes: 1 addition & 1 deletion src/functions_framework/event_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from cloudevents.http import CloudEvent, from_http, is_binary

from functions_framework.background_event import BackgroundEvent
from functions_framework.context import Context
from functions_framework.exceptions import EventConversionException
from google.cloud.functions.context import Context

_CLOUD_EVENT_SPEC_VERSION = "1.0"

Expand Down
22 changes: 0 additions & 22 deletions src/google/__init__.py

This file was deleted.

22 changes: 0 additions & 22 deletions src/google/cloud/__init__.py

This file was deleted.

13 changes: 0 additions & 13 deletions src/google/cloud/functions/__init__.py

This file was deleted.

19 changes: 0 additions & 19 deletions src/google/cloud/functions/context.py

This file was deleted.

13 changes: 0 additions & 13 deletions src/google/cloud/functions_v1/__init__.py

This file was deleted.

13 changes: 0 additions & 13 deletions src/google/cloud/functions_v1beta2/__init__.py

This file was deleted.

33 changes: 0 additions & 33 deletions src/google/cloud/functions_v1beta2/context.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
from cloudevents.http import from_json, to_binary

from functions_framework import event_conversion
from functions_framework.context import Context
from functions_framework.exceptions import EventConversionException
from google.cloud.functions.context import Context

TEST_DATA_DIR = pathlib.Path(__file__).resolve().parent / "test_data"

Expand Down