refactor: rimuovi compat legacy inutilizzati dal parser config#25
Merged
refactor: rimuovi compat legacy inutilizzati dal parser config#25
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #24
Questa PR restringe il contract del parser config del
toolkitalle forme canoniche realmente usate nei progetti attivi.In particolare rimuove compatibilità legacy che oggi non porta più valore e aumenta la confusione del config model.
Cosa entra
Rimosso
raw.sourceraw.sources[].pluginraw.sources[].idclean.readscalar formclean.read.csv.*clean.sql_pathmart.sql_dirComportamento nuovo
Le forme sopra non vengono più normalizzate o ignorate.
Ora falliscono con errore esplicito che indica la shape corretta.
Perché
Nel workspace non risultano config attive che usano queste forme.
Quindi:
Il caso peggiore erano
clean.sql_pathemart.sql_dir:File principali
toolkit/core/config_models.pytoolkit/core/csv_read.pytoolkit/clean/duckdb_read.pytests/test_config.pydocs/config-schema.mddocs/advanced-workflows.mdCHANGELOG.mdCommit inclusi
70e16abrefactor: rimuovi compat legacy del parser config53aae93refactor: rimuovi clean.sql_path e mart.sql_dirValidation
Test passati:
python -m pytest tests/test_config.py -qScope
PR volutamente limitata al parser/config contract.
Non tocca:
cross_yearstatus/inspectlegacy_aliases