Skip to content

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

Open
JosueNina wants to merge 1 commit intoQuantConnect:masterfrom
JosueNina:bug-638-readme-script-generation-failing
Open

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

Conversation

@JosueNina
Copy link
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
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!

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

2 participants