Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Bug ? when dataclass field name == field type
Post: Bug ? when dataclass field name == field type

Hi, When I create a dataclass with same field.name and field.type and assign a default value to None typehint get lost. I know that it does not respect naming convention but I have reasons to do so in...
Cyril General Coding Help 0 1,542 Oct-22-2020, 03:26 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020