Skip to content

Fix readme.py script: Pydantic v2 and Click 8.2+ compatibility#641

Merged
Martin-Molinero merged 1 commit intoQuantConnect:masterfrom
JosueNina:bug-638-readme-script-generation-failing
Apr 7, 2026
Merged

Fix readme.py script: Pydantic v2 and Click 8.2+ compatibility#641
Martin-Molinero merged 1 commit intoQuantConnect:masterfrom
JosueNina:bug-638-readme-script-generation-failing

Conversation

@JosueNina
Copy link
Copy Markdown
Collaborator

@JosueNina JosueNina commented Mar 13, 2026

Closes #638

  • Replace deprecated class Config with model_config = ConfigDict in NamedCommand
  • Fix get_metavar(param, ctx=None) in QCDataTypeCustomChoice and DateParameter to support Click 8.2+
  • Add CI step to verify README stays in sync with the codebase

@JosueNina JosueNina force-pushed the bug-638-readme-script-generation-failing branch from 80d3eca to 7b496aa Compare March 17, 2026 22:04
Copy link
Copy Markdown
Collaborator

@jhonabreul jhonabreul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Copy Markdown
Member

@Martin-Molinero Martin-Molinero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@Martin-Molinero Martin-Molinero merged commit 986563f into QuantConnect:master Apr 7, 2026
38 checks passed
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 Script Generation Failing

3 participants