docs: add regex_replace filter to declarative_component_schema.yaml#906
docs: add regex_replace filter to declarative_component_schema.yaml#906
Conversation
Co-Authored-By: brian.lai@airbyte.io <brian.j.lai@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksTesting 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@devin/1770929036-add-regex-replace-filter#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 devin/1770929036-add-regex-replace-filterPR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
|
📝 WalkthroughWalkthroughAdds a new Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@airbyte_cdk/sources/declarative/declarative_component_schema.yaml`:
- Around line 5045-5053: Update the description for the regex_replace operator:
change the current awkward phrasing to a clearer sentence that matches the
implementation docstring by saying something like "Replace all occurrences in
the string that match the provided regex pattern with the specified replacement
string"; locate and update the description field under the regex_replace entry
in declarative_component_schema.yaml (the regex_replace operator block with
arguments regex and replacement and examples) so the wording exactly reflects
this clarified sentence.
Co-Authored-By: brian.lai@airbyte.io <brian.j.lai@gmail.com>
Summary
Adds the
regex_replaceJinja filter function to theinterpolation.filterssection ofdeclarative_component_schema.yaml. This documents the filter that removes all occurrences in a string that match a provided regex pattern, replacing them with a specified replacement string. The entry follows the same structure as the existingregex_searchfilter.Review & Testing Checklist for Human
regex_replacefilter arguments (regex,replacement) match the actual implementation in the CDK (see PR feat: Add regex_replace Jinja filter for low-code connector builder #904)Notes
Summary by CodeRabbit