yukinarit

Results 39 issues of yukinarit

I would like to implement type coercion and strict type checking like the one in [pydantic](https://pydantic-docs.helpmanual.io/usage/types/#strict-types).

enhancement

> it would also be nice to be able to set that option to skip_if_default more globally, e.g. at the class level (in the @serialize decorator maybe) in addition to...

enhancement
good first issue

* core contributors * contributors

documentation

* [x] List * [x] Tuple * [x] Dict * [x] Any: https://github.com/yukinarit/pyserde/pull/122 * [x] Set * [x] FrozenSet * [x] DefaultDict * [x] OrderedDict * [ ] ChainMap *...

enhancement

Hi, @ydylla I have a question. I was working to support `typing.Any` but found the unsupported error is raised at runtime. Any idea? 🤔 ```python @deserialize @serialize @dataclass class Foo:...

enhancement

* `https://yukinarit.github.io/pyserde`: latest release * `https://yukinarit.github.io/pyserde/v0.3.1`: v0.3.1

help wanted
documentation

@ydylla I think you are already aware of this issue but let me create this issue. ```python @deserialize @serialize @dataclass class Foo: c: Union[List[int], Dict[str, int]] s = '{"c": {"bar":...

enhancement

* How does `dataclasses` work * What is `exec` all about? * What does `@serialize` and `@deserialize` do?

documentation

I think PEP 681 [@dataclass_transform](https://peps.python.org/pep-0681/) fixes mypy error reported in [#205](https://github.com/yukinarit/pyserde/issues/205) when a class declared without @dataclass. ```python @serde class Foo: id: int name: str ```

enhancement