-
Notifications
You must be signed in to change notification settings - Fork 18
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
Remove pydantic warning manifest #135
base: main
Are you sure you want to change the base?
Remove pydantic warning manifest #135
Conversation
WalkthroughThe pull request introduces configuration modifications across multiple manifest parser versions (v6 to v9). The primary changes involve adjusting Changes
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
🔇 Additional comments (4)dbt_artifacts_parser/parsers/manifest/manifest_v8.py (1)
The addition of dbt_artifacts_parser/parsers/manifest/manifest_v9.py (1)
The addition of dbt_artifacts_parser/parsers/manifest/manifest_v6.py (2)
The addition of
Let's verify the presence and handling of model_unique_id field across manifest versions. Also applies to: 1085-1086, 1242-1243 ✅ Verification successfulmodel_unique_id field is consistently defined across manifest versions The field 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for model_unique_id field usage across manifest versions
echo "Checking model_unique_id field usage in manifest parsers..."
# Search for model_unique_id field declarations
rg -A 2 "model_unique_id: Optional\[str\]" dbt_artifacts_parser/parsers/manifest/
# Search for any other references to model_unique_id
rg "model_unique_id" dbt_artifacts_parser/parsers/manifest/ --type py
Length of output: 1815 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 (
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨No code suggestions found for the PR. |
User description
Re-opens #97 as
model_unique_id
is still present in manifest v6 through v9 (search results).PR Type
Bug fix
Description
model_config = ConfigDict(protected_namespaces=())
to Metric/ParsedMetric classes across manifest versions v6-v9model_unique_id
field in the manifest filesChanges walkthrough 📝
manifest_v6.py
Add protected namespace configuration to ParsedMetric
dbt_artifacts_parser/parsers/manifest/manifest_v6.py
to prevent Pydantic warnings
manifest_v7.py
Add protected namespace configuration to ParsedMetric
dbt_artifacts_parser/parsers/manifest/manifest_v7.py
to prevent Pydantic warnings
manifest_v8.py
Add protected namespace configuration to Metric
dbt_artifacts_parser/parsers/manifest/manifest_v8.py
prevent Pydantic warnings
manifest_v9.py
Add protected namespace configuration to Metric
dbt_artifacts_parser/parsers/manifest/manifest_v9.py
prevent Pydantic warnings