Skip to content

fix(scripts): add missing PerDestinationConfig import in demo#21

Merged
chripiermarini merged 1 commit into
chripiermarini:mainfrom
al2cibo:fix/missing-import-in-demo-script
Jul 5, 2026
Merged

fix(scripts): add missing PerDestinationConfig import in demo#21
chripiermarini merged 1 commit into
chripiermarini:mainfrom
al2cibo:fix/missing-import-in-demo-script

Conversation

@al2cibo

@al2cibo al2cibo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Closes #19

the end-to-end pipeline demo (scripts/example_end_to_end_pipeline.py) fails with a NameError because PerDestinationConfig is used as a type hint but never imported. I just added the missing import from forecast.config, allowing the demo to run as documented in the README

@chripiermarini

Copy link
Copy Markdown
Owner

Good catch — it was weird at first because I was able to run the pipeline completely fine on my platform, but that was because I was running Python 3.14. The minimum requirement stated is Python 3.11, so I'll merge this PR to allow users with older Python versions to run the package.

@chripiermarini chripiermarini merged commit a622a38 into chripiermarini:main Jul 5, 2026
1 check passed
@al2cibo al2cibo deleted the fix/missing-import-in-demo-script branch July 6, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README Quick Start demo command is not reproducible from a fresh setup

2 participants