-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix(source-intercom) raise config error on Active subscription needed
error, transient error for Companies stream
#42094
Merged
darynaishchenko
merged 12 commits into
master
from
daryna/source-intercom/raise-config-error
Jul 29, 2024
Merged
Changes from 5 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
26051c9
updated airbyte-cdk
darynaishchenko c86f423
raise config error on Active subscription needed error
darynaishchenko 1130032
bump version
darynaishchenko 5fb02e3
updated changelog
darynaishchenko bf31e13
chore: auto-fix lint and format issues
octavia-squidington-iii 630b6ac
Merge branch 'master' into daryna/source-intercom/raise-config-error
darynaishchenko 945af1b
updated error handling for companies stream
darynaishchenko 67956b0
updated dependencies
darynaishchenko b458b2a
removed custom requester
darynaishchenko bb9f566
format fix
darynaishchenko c0633d5
Merge branch 'master' into daryna/source-intercom/raise-config-error
darynaishchenko b126e47
bump version, update dependencies
darynaishchenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
235 changes: 160 additions & 75 deletions
235
airbyte-integrations/connectors/source-intercom/poetry.lock
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something that seems unclear to me is where this custom
IntercomHttpRequester
differs from the regularHttpRequester
that is supplied by the low-code CDK, since we removedinterpret_response_status
into a custom error handler, it doesn't seem like this class is overriding anything meaningful.I see that we instantiate a bunch of interpolators, but the overwritten
get_request_params()
and other methods seem to just do the same behavior as interpolated_request_options_provider.py which makes me think this class is not needed anymore.What do you think @darynaishchenko ? If this is in fact needed, let's add a docstring explaining the need for this custom class. Otherwise we should just swap this out and use
HttpRequester
in the manifestThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right, here is no need to overwrite
HttpRequester
now. Changed it manifest file.Run regression tests here: request urls looks good.