PortfolioRepository expects its own portfolio config (with data_dir), not DEFAULT_CONFIG. Passing config=self.config caused a KeyError because DEFAULT_CONFIG has no data_dir key. Removing the argument lets the repository call get_portfolio_config() which provides the correct defaults. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| routes | ||
| services | ||
| .env.example | ||
| __init__.py | ||
| dependencies.py | ||
| main.py | ||
| store.py | ||