issues
search
ProtixIT
/
dataclass-binder
Python library to bind TOML data to dataclasses in a type-safe way
MIT License
13
stars
2
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Add support for `Literal`
#45
mthuurne
opened
8 months ago
0
Add support for Enums #29
#44
atomicptr
opened
8 months ago
12
Support Python 3.12
#43
mthuurne
closed
9 months ago
0
Support `pathlib.Path` as a field type
#42
mthuurne
closed
11 months ago
0
Update suppression comment for mypy 1.5
#41
mthuurne
closed
11 months ago
0
Support `Path` as a field type
#40
mthuurne
closed
11 months ago
1
Improve formatting of untyped tables
#39
mthuurne
opened
11 months ago
0
Add non-template TOML formatting
#38
mthuurne
closed
11 months ago
0
Require fields with `None` in their annotation to have `None` as their default
#37
mthuurne
closed
12 months ago
0
Omit values that are formatted equally to the default
#36
mthuurne
closed
12 months ago
0
Document fields with a `default_factory` as optional in template
#35
mthuurne
closed
1 year ago
0
Fields with a `default_factory` must be considered optional
#34
mthuurne
closed
1 year ago
0
Support binding from/to environment variables
#33
mthuurne
opened
1 year ago
0
Compare TOML serialization to default value
#32
mthuurne
closed
12 months ago
0
Handling of optional fields with non-`None` defaults
#31
mthuurne
closed
12 months ago
1
Include dataclasses for logging configuration
#30
mthuurne
opened
1 year ago
0
Support enumerations
#29
mthuurne
opened
1 year ago
0
Generate template in depth-first order and fix recursive dataclasses
#28
mthuurne
closed
1 year ago
0
Format untyped mappings and sequences as TOML tables
#27
mthuurne
closed
1 year ago
0
Replace duration suffixes
#26
mthuurne
opened
1 year ago
0
Format nested dataclasses as TOML tables
#25
mthuurne
closed
1 year ago
0
Support descriptors as fields
#24
mthuurne
opened
1 year ago
0
Replace `format_template()` function by `Binder.format_toml_template()` method
#23
mthuurne
closed
1 year ago
0
Fix formatting of `init=False` field in nested dataclasses
#22
mthuurne
closed
1 year ago
0
Fix annotation evaluation on inherited dataclasses
#21
mthuurne
closed
1 year ago
0
Implement a better cache mechanism
#20
mthuurne
closed
1 year ago
0
Support instantiating `Binder` from a dataclass object
#19
mthuurne
closed
1 year ago
0
Various cleanups
#18
mthuurne
closed
1 year ago
0
Allow instantiating a `Binder` from a dataclass instance
#17
mthuurne
closed
1 year ago
0
Fix formatting of optional fields with non-string annotations
#16
mthuurne
closed
1 year ago
0
Various cleanups
#15
mthuurne
closed
1 year ago
0
Instantiate `Binder` instead of specializing it
#14
mthuurne
closed
1 year ago
0
Replace flake8 by Ruff
#13
mthuurne
closed
1 year ago
0
Add function to construct TOML dictionary for dataclass instance
#12
mthuurne
opened
1 year ago
3
Support `typing.Any` as a field annotation
#11
mthuurne
closed
1 year ago
0
Support `Any`?
#10
mthuurne
closed
1 year ago
1
Add support for `InitVar`
#9
mthuurne
opened
1 year ago
1
Ignore dataclass fields with `init=False`
#8
mthuurne
closed
1 year ago
0
Fix `get()` and `[]` on object bound to read-only mapping
#7
mthuurne
closed
1 year ago
0
Object bound to `Mapping` doesn't implement mapping interface
#6
mthuurne
closed
1 year ago
0
Check coverage in CI
#5
mthuurne
closed
1 year ago
0
Relax `Binder.bind()` argument type to `Mapping`
#4
mthuurne
closed
1 year ago
0
Relax `bind()` argument type to `Mapping`
#3
mthuurne
closed
1 year ago
0
Ignore dataclass fields with init=False
#2
mthuurne
closed
1 year ago
0
Add support for generic dataclasses
#1
mthuurne
opened
1 year ago
0