Conversation
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. Testing This CDK VersionYou can test this version of the CDK using the following: # Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/airbyte-python-cdk.git@brian/add_back_migrate_and_normalize_for_connector_builder#egg=airbyte-python-cdk[dev]' --help
# Update a connector to use the CDK from this branch ref:
cd airbyte-integrations/connectors/source-example
poe use-cdk-branch brian/add_back_migrate_and_normalize_for_connector_builderHelpful ResourcesPR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
|
📝 WalkthroughWalkthroughTwo new boolean flags, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Handler as connector_builder_handler.py
participant Source as ConcurrentDeclarativeSource
participant Super as ManifestDeclarativeSource
User->>Handler: create_source(config)
Handler->>Handler: should_migrate_manifest(config)
Handler->>Handler: should_normalize_manifest(config)
Handler->>Source: Instantiate with migrate_manifest, normalize_manifest
Source->>Super: Call __init__ with migrate_manifest, normalize_manifest
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Would you like to see a suggestion for adding a docstring or comment to clarify the new parameters in the constructor for future maintainers, wdyt? Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (5)📓 Common learnings📚 Learning: when modifying the `yamldeclarativesource` class in `airbyte_cdk/sources/declarative/yaml_declarativ...Applied to files:
📚 Learning: the files in `airbyte_cdk/cli/source_declarative_manifest/`, including `_run.py`, are imported from ...Applied to files:
📚 Learning: when code in `airbyte_cdk/cli/source_declarative_manifest/` is being imported from another repositor...Applied to files:
📚 Learning: copying files from `site-packages` in the dockerfile maintains compatibility with both the old file ...Applied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (5)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
lmossman
left a comment
There was a problem hiding this comment.
Changes LGTM and works as expected when testing locally with the Builder
Summary by CodeRabbit