wrapper
0c93e4d551
mod
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
timrid
f3b7bc342e
incremented version to 0.7.0
2025-10-27 20:25:48 +01:00
Tim Rid
a2a6be536f
satisfy pyright 1.1.391
2025-01-12 12:33:51 +01:00
Tim Riddermann
2ffa785ce6
incremented version to 0.6.2
2023-08-03 09:27:59 +02: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
af98d2004d
incremented version to 0.6.1
2023-07-24 11:56:08 +02:00
Tim Riddermann
74593404b1
fixed missmatch between stub and runtime type for Array
2023-07-24 11:55:44 +02:00
Tim Riddermann
af1a93c630
incremented version to 0.6.0
2023-07-24 11:02:39 +02:00
Tim Riddermann
825783db57
fixed mypy issues
2023-07-18 17:37:29 +02:00
Tim Riddermann
dcdeeca39f
removed all __new__ methods. mypy v1.4.1 is working.
2023-06-30 14:13:01 +02:00
Tim Riddermann
3b51654b1e
incremented version to 0.5.6
2023-05-09 13:03:26 +02:00
Tim Riddermann
a44ea84299
fixed mypy error
2023-05-09 11:47:10 +02:00
Tim Riddermann
6185a95e74
ignored typing error
2023-05-09 11:44:09 +02:00
Tim Riddermann
d969fab1d3
fixed python 3.7 "TypeError: 'type' object is not subscriptable"
2023-05-09 11:31:18 +02:00
Tim Riddermann
3a676478ee
fixed mypy issues
2023-05-09 11:27:19 +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
acc3fa3443
incremented version to 0.5.5
2023-01-09 13:23:37 +01: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 Riddermann
80b11b2ef9
added missing parts for cst.Array
2023-01-09 08:18:16 +01:00
Tim Riddermann
747bfaebd1
added generic wrapper for cs.Array
2023-01-06 10:32:44 +01:00
Tim Rid
ed5d0fe826
incremented version to 0.5.4
2022-12-24 12:20:03 +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
ceb4b67ff8
incremented version to 0.5.3
2022-10-31 10:06:15 +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
4c23eaa1b3
Revert "incremented version to 0.5.3"
...
This reverts commit 3b5a8af36f .
2021-10-23 13:07:06 +02:00
Tim Rid
3b5a8af36f
incremented version to 0.5.3
2021-10-23 13:05:22 +02:00
Tim Rid
7c310cd771
incremented version to 0.5.2
2021-07-31 14:00:58 +02:00
Tim Rid
3848db5b1a
incremented version to 0.5.1
2021-07-19 20:51:31 +02:00
Tim Rid
1c9925500b
incremented version to 0.5.0
2021-05-24 14:43:00 +02:00
Tim Rid
2b5967e11d
fixing pyright issues
2021-05-23 16:22:40 +02:00
Tim Rid
22a0ed7f24
- updated documentation
...
- removed tunion completely
2021-05-23 15:28:27 +02:00
Tim Rid
5a39c51321
- renamed classes/methods/file:
...
- "tstruct.py" -> "dataclass_struct.py"
- "TStruct" -> "DataclassStruct"
- "TBitStruct" -> "DataclassBitStruct"
- "sfield" -> "csfield"
- "TContainerMixin" -> "DataclassMixin"
- extended documentation
2021-05-22 23:36:54 +02:00
Tim Rid
a11132e67d
fixed mypy error
2021-05-22 17:45:45 +02:00
Tim Rid
48d50736b0
fixed error
2021-05-22 17:33:34 +02:00
Tim Rid
c9d6f58fd4
fixed mypy errors
2021-05-22 17:32:23 +02:00
Tim Rid
a304977aca
- Revised TContainerMixin:
...
- removed inheritance of cs.Container (which removed the acces to dataclass objects via square brackets)
- copied __str__ from cs.Container with a few modifications
- Removed 'add_offsets' from TStruct
- Changed implementation of TBitStruct
2021-05-22 17:10:56 +02:00
Tim Rid
64731e4050
incremented version to 0.4.2
2021-04-13 21:35:32 +02:00
Tim Rid
976e68d4b9
values from "cs.Const" and "cs.Default" are now set as default value from the dataclass
2021-04-13 21:33:11 +02:00
Tim Rid
c7b0a9627c
incremented version to v0.4.1
2021-04-03 21:37:19 +02:00
Tim Rid
b72c2671dc
incremented version to v0.4.0
2021-03-30 19:58:04 +02:00
Tim Rid
94b7f7f606
changed "swapped" to "reverse" in TStruct and TBitStruct
2021-03-30 19:54:23 +02:00
Tim Rid
b336087493
renamed "TContainerBase" to "TContainerMixin"
2021-03-30 19:35:33 +02:00
Tim Rid
c03af674be
added version file and incremented version to 0.3.0
2021-03-24 20:28:39 +01: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
ae440407e9
- renamed "TStructField" to "field" and "TUnionField" to "ufield". This makes the dataclass definitions shorter and more readable.
...
- removed "Opt" and "List" because they are not necessary any more, because covariant is now included for ParsedType.
- added test with typing.List as field
- fix: changed dict to typing.Dict
2021-03-16 18:51:04 +01:00
Tim Rid
084c39a1ff
removed unused type ignore
2021-03-13 17:54:06 +01:00