Commit 54f0667
chore: registry hygiene pass — clear all 34 shadow warnings, fix 33 example.yaml validation errors
L1 validation harness scorecard:
PASS: 487 → 562 (+75)
WARN: 33 → 0 (−33)
FAIL: 74 → 41 (−33)
Changes — shadow-attr warnings (34 components):
All components with `model:` or `schema:` fields shadowing the
Pydantic / Dagster Resolvable / Model parent class attributes were
renamed to `model_id` / `schema_name` with `Field(alias="<orig>")`
+ `model_config = ConfigDict(populate_by_name=True)`. YAML-facing
field name unchanged — existing example.yaml + customer defs.yaml
keep working without any rewrite.
Pattern applied (33 model rename + 4 schema rename) via the new
tools/fix_shadow_warnings.py script, which reads the L1 validation
report and applies the transform with sanity-checks (alias presence,
ConfigDict import, body multiline-preserving rewrite).
Changes — example.yaml validation errors (33 components fixed of 74):
- 9 components had `source_asset:` in example.yaml but the component
expected `upstream_asset_key:`. Renamed in-place.
- 26 components were entirely missing `upstream_asset_key:` from
example.yaml; added with descriptive per-component placeholders
(raw_documents, raw_text, raw_tickets, rows_to_index, etc.).
- 4 components used `*_asset` field names (google_ads_asset,
facebook_ads_asset, campaign_data_asset, etc.) instead of the
component's actual `*_asset_key` field. Renamed.
- 4 IO managers (postgres / databricks / redshift / trino) used
`schema_name:` in example.yaml but the component field is
`default_schema:`. Renamed.
- 5 source / sink components had skeleton example.yamls
("See schema.json for full attribute reference") — fleshed out
with all required fields (cloudwatch_logs_insights_query,
cloudwatch_metrics_query, dataframe_to_otlp_logs / _metrics / _traces).
- 3 example.yamls had a misplaced `database_url_env_var:` line from
a stub template — removed.
Remaining 41 FAILs are diverse one-off issues (missing endpoint /
client_id / api_token_env_var fields; deps wrong-type; renamed
fields like source_table → table_name). These need per-component
attention and will be addressed in a follow-up pass.
New tool:
tools/fix_shadow_warnings.py — batch-applies the alias-rename
pattern from the L1 report. Reusable for future shadow warnings
introduced by Pydantic / Dagster Resolvable API additions.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b282938 commit 54f0667
88 files changed
Lines changed: 632 additions & 663 deletions
File tree
- assets
- ai
- anthropic_llm
- bank_statement_extractor
- contract_extractor
- conversation_memory
- document_chunker
- document_summarizer
- dspy_program
- embeddings_generator
- entity_extractor
- expense_report_extractor
- image_llm_extractor
- instructor_extractor
- insurance_claim_extractor
- invoice_extractor
- job_posting_extractor
- langchain_chain_asset
- legal_document_extractor
- litellm_audio_transcription
- litellm_batch_completion
- litellm_embedding_batch
- litellm_function_calling
- litellm_image_generation
- litellm_inference_asset
- litellm_structured_output
- litellm_text_to_speech
- llm_chain_executor
- llm_judge
- llm_output_parser
- llm_prompt_executor
- medical_record_extractor
- moderation_scorer
- ollama_inference_asset
- openai_llm
- purchase_order_extractor
- rag_pipeline
- receipt_extractor
- reranker
- resume_extractor
- schema_fit
- scientific_paper_extractor
- sentiment_analyzer
- shipping_label_extractor
- text_chunker
- text_classifier
- text_moderator
- ticket_classifier
- vector_store_query
- vector_store_writer
- vision_model
- analytics
- ab_test_analysis
- ad_spend_standardizer
- campaign_performance
- chromadb_asset
- churn_prediction
- cohort_analysis
- customer_health_score
- elasticsearch_asset
- funnel_analysis
- ltv_prediction
- multi_touch_attribution
- pgvector_asset
- product_recommendations
- propensity_scoring
- ts_forecast
- ts_model_factory
- sinks
- dataframe_to_databricks
- dataframe_to_otlp_logs
- dataframe_to_otlp_metrics
- dataframe_to_otlp_traces
- dataframe_to_redshift
- dataframe_to_table
- sources
- aws_cloudwatch_logs_insights_query
- aws_cloudwatch_metrics_query
- dataframe_from_table
- io_managers
- databricks_io_manager
- postgres_io_manager
- redshift_io_manager
- trino_io_manager
- transforms/siem_event_normalizer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
| 181 | + | |
| 182 | + | |
181 | 183 | | |
182 | 184 | | |
183 | 185 | | |
| |||
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
396 | | - | |
| 398 | + | |
397 | 399 | | |
398 | 400 | | |
399 | 401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
299 | 302 | | |
300 | 303 | | |
301 | 304 | | |
302 | | - | |
| 305 | + | |
303 | 306 | | |
304 | 307 | | |
305 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
299 | 302 | | |
300 | 303 | | |
301 | 304 | | |
302 | | - | |
| 305 | + | |
303 | 306 | | |
304 | 307 | | |
305 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
| |||
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
278 | | - | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
276 | 279 | | |
277 | 280 | | |
278 | 281 | | |
279 | | - | |
| 282 | + | |
280 | 283 | | |
281 | 284 | | |
282 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
364 | | - | |
| 366 | + | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
| |||
0 commit comments