Commit graph

21 commits

Author SHA1 Message Date
wrapper
0c93e4d551 mod
Some checks are pending
CI / OS ubuntu-latest, Python 3.10 (push) Waiting to run
CI / OS ubuntu-latest, Python 3.11 (push) Waiting to run
CI / OS ubuntu-latest, Python 3.12 (push) Waiting to run
CI / OS ubuntu-latest, Python 3.13 (push) Waiting to run
CI / OS ubuntu-latest, Python 3.9 (push) Waiting to run
CI / OS windows-latest, Python 3.10 (push) Waiting to run
CI / OS windows-latest, Python 3.11 (push) Waiting to run
CI / OS windows-latest, Python 3.12 (push) Waiting to run
CI / OS windows-latest, Python 3.13 (push) Waiting to run
CI / OS windows-latest, Python 3.9 (push) Waiting to run
CI / create_wheel_and_sdist (push) Waiting to run
2026-04-07 18:48:27 +07:00
Tim Riddermann
c7e3fc7057 removed unnessasary __new__ methods in DataclassStruct, TEnum and TFlagsEnum 2023-08-03 09:22:33 +02:00
Tim Riddermann
c405d09d5f fixed error message from EnumBase and FlagsEnumBase that occures since pyright v1.1.320 2023-08-03 09:21:30 +02:00
Tim Riddermann
50a2f34fc6 fixed mypy issue 2023-05-09 11:12:42 +02:00
Tim Riddermann
ab33490dec Pickle enums by value instead of name (restores pre-3.11 behavior) to support dataclasses.asdict 2023-05-09 10:52:18 +02:00
Tim Riddermann
bea99456d7 using __new__ instead of __init__ for EnumBase to create enum member objects (fixes #18) 2023-01-09 09:02:33 +01:00
Tim Rid
916349f876 enhanced EnumBase and FlagsEnumBase to support induvidual documentation for each enum value via EnumValue 2022-12-24 12:04:45 +01:00
Tim Rid
92b3555c50 removed _create_pseudo_member completely and integrated it into _missing_ 2022-10-25 19:26:37 +02:00
Tim Rid
19fd0bf7f3 Fixed Error in Python 3.11: "_sunder_ names, such as '_create_pseudo_member_', are reserved for future Enum use" 2022-10-23 22:12:55 +02:00
Tim Rid
f64f1cac6c fixed __new__ 2021-03-24 20:19:15 +01:00
Tim Rid
5c6f5020f9 fixed typing error from pylance in the constructor of TEnum and TFlagsEnum 2021-03-24 20:15:23 +01:00
Tim Rid
e902748656 removed unused 'type: ignore' 2021-01-24 17:59:37 +01:00
Tim Rid
6900b37acd fixed things that are complained by pyright 2021-01-10 13:31:56 +01:00
Tim Rid
f3a2fd94d0 fixed some mypy issues 2021-01-02 21:31:26 +01:00
Tim Rid
aa453f29a7 fixed mypy and pytest errors 2021-01-02 17:54:52 +01:00
Tim Rid
ac8800943a Added "TFlagsEnum" and "FlagsEnumBase" 2021-01-02 12:01:20 +01:00
Tim Rid
def9e93da7 - enhanced TEnum
- added EnumBase
- extended README.md
2021-01-02 01:12:04 +01:00
Tim Rid
74a5082c7f run black and isort 2021-01-01 23:46:43 +01:00
Tim Rid
8c8154aaa0 satisfy mypy 2021-01-01 15:41:36 +01:00
Tim Rid
ede0840a0b Fixed TStruct in TArray 2021-01-01 13:55:19 +01:00
Tim Rid
e6f3f12d30 - divided construct_typed in multiple files
- adapted the "test_typed.py" to dataclasses
2020-12-31 17:11:21 +01:00