Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix api_parser.Config dataclass definition #206

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Conversation

jbms
Copy link
Owner

@jbms jbms commented Jan 13, 2023

Previously, some fields were incorrectly specified as ClassVar when they were intended as instance variables not included as parameters to __init__. In addition to being an incorrect type annotation, this led to failures on older versions of pydantic.

@jbms jbms requested a review from 2bndy5 January 13, 2023 06:53
Previously, some fields were incorrectly specified as `ClassVar` when
they were intended as instance variables not included as parameters to
`__init__`.  In addition to being an incorrect type annotation, this
led to failures on older versions of pydantic.
@jbms jbms force-pushed the fix-cpp-config-dataclass branch from c9db2c0 to 2f504ee Compare January 13, 2023 07:46
@jbms jbms merged commit 0cbc073 into main Jan 13, 2023
@jbms jbms deleted the fix-cpp-config-dataclass branch January 13, 2023 08:41
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.

2 participants