-
Notifications
You must be signed in to change notification settings - Fork 44
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
Feat: Added use_host_network
param to get_destination()
#364
Conversation
WalkthroughWalkthroughThe pull request introduces a new boolean parameter, Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
Outside diff range and nitpick comments (1)
airbyte/destinations/util.py (1)
72-72
: Nicely done! Theuse_host_network
parameter is correctly passed to the executor.Just a minor suggestion: What do you think about adding a comment to clarify that
use_host_network
is only effective whendocker_image
is set? This could help future maintainers understand the behavior at a glance. Wdyt?
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- airbyte/destinations/util.py (3 hunks)
Additional comments not posted (2)
airbyte/destinations/util.py (2)
27-27
: LGTM! The newuse_host_network
parameter looks good. The name is clear and the default value ensures backward compatibility. 👍
51-54
: Looks great! The docstring update for theuse_host_network
parameter is clear and aligns with the implementation. Nice work on documenting the behavior and conditions. 🙌
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.
Looks great! Thanks as always for contributing! 🙌
/test-pr |
Description
use_host_network
, a Docker based connectors option for destinations. This enables locally testable destinations, for example, a local Postgres DB instance.get_source()
Feat: Addeduse_host_network
param toget_source()
, for Docker containers to use host's network #277use_host_network
is necessary for destinations, if someone tried to use PyAirbyte locally.Fixes/Implements #363
Summary by CodeRabbit
use_host_network
, for enhanced network access in connectors, allowing execution using the host network for specified Docker images.use_host_network
parameter.