Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Webhook storage (fixes #2835) #3000

Merged
merged 21 commits into from
Aug 4, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
tell mypy to trust me
  • Loading branch information
jameslamb committed Jul 20, 2020
commit b4f5537e0d390eef57f4b72eafeb28bad6896173
4 changes: 2 additions & 2 deletions src/prefect/environments/storage/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_flow(self, flow_location: str = "placeholder") -> "Flow":
secret_config=self.get_flow_secret_config,
)

response = req_function(**get_flow_kwargs)
response = req_function(**get_flow_kwargs) # type: ignore
response.raise_for_status()

return cloudpickle.loads(response.content)
Expand Down Expand Up @@ -273,7 +273,7 @@ def random_number():
warnings.warn(msg, RuntimeWarning)
build_kwargs["data"] = data

response = req_function(**build_kwargs)
response = req_function(**build_kwargs) # type: ignore
response.raise_for_status()

self._build_responses[flow_name] = response
Expand Down