Skip to content

Conversation

@erogol
Copy link
Member

@erogol erogol commented Feb 16, 2022

Addressing #25

@erogol erogol requested a review from reuben February 16, 2022 10:40
_initialized = False

def __init_subclass__(cls, **kwargs):
return dataclass(_cls=cls, **kwargs)
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if the class already has the annotation? Otherwise LGTM.

@erogol
Copy link
Member Author

erogol commented Feb 16, 2022

I tried but failed. Giving up for now.

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.

3 participants