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

[ISSUE #34910] add headers to HttpResponse for test framework #35105

Merged

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Feb 9, 2024

What

Addresses #34910

How

Add headers that are empty dict by default and allow to user to optionally provide them

🚨 User Impact 🚨

Will unblock #34933 (comment) and allow future users to add headers to responses

@maxi297 maxi297 requested a review from a team as a code owner February 9, 2024 17:06
Copy link

vercel bot commented Feb 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Feb 9, 2024 5:06pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Feb 9, 2024
@maxi297 maxi297 merged commit 60a2618 into master Feb 9, 2024
22 checks passed
@maxi297 maxi297 deleted the issue-34910/add-headers-to-http-response-for-test-framework branch February 9, 2024 17:19
@@ -60,7 +60,9 @@ def _mock_request_method(
getattr(self._mocker, method)(
requests_mock.ANY,
additional_matcher=self._matches_wrapper(matcher),
response_list=[{"text": response.body, "status_code": response.status_code} for response in responses],
response_list=[
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious: what formatter are you using, and do we have centralized enforced formatting / linting yet?

Copy link
Contributor Author

@maxi297 maxi297 Feb 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I blindly use airbyte-ci format fix all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants