Alexander Tikhonov
Alexander Tikhonov
Hi @pmorch Thank you for your comment! You are right, there is currently no documentation on the initialization capabilities of encoders and decoders. I thought this feature was only necessary...
Hi @tjorim Current simple solution is to use [pre-deserialize hooks](https://github.com/Fatal1ty/mashumaro?tab=readme-ov-file#before-deserialization): ```python @dataclass class VehicleApiResponse(DataClassORJSONMixin): stops: list[VehicleStop] @classmethod def __pre_deserialize__(cls: Type[T], d: dict[Any, Any]) -> dict[Any, Any]: d["stops"] = d["stops"]["stop"] return...
@tjorim Sorry for the delay! > Any reason to use the `__pre_deserialize__` instead of a `deserialize`? These two methods work on different stages of deserialization process. The `__pre_deserialize__` hook can...
Sounds good to me. A slice object can be represented as a list of [start, stop, step] values. Assuming, that these values can be either integer or None, this would...
Hi @cdce8p Thank you for this work! I'll review your PR when my current vacation is over. It will be in a week or so.
Alright, I have looked through everything carefully and am ready to merge it. Sorry again for the delay, but we're making it before Python 3.14, which is great. At the...
@cdce8p thank you very much for this PR. You've done a tremendous job, and your contribution to supporting Python 3.14 is invaluable. I initially wanted to do it myself, as...
This is certainly a bug related to [`no_copy_collections`](https://github.com/Fatal1ty/mashumaro?tab=readme-ov-file#no_copy_collections-dialect-option) parameter. The condition for no copying should be improved because it's now very naive at the moment: https://github.com/Fatal1ty/mashumaro/blob/19d4642d0868cc01dde1b133c2ca243484fa9196/mashumaro/core/meta/types/pack.py#L804-L805 Current workaround is to...
@haladynkamil I’m glad you solved the problem. Would you mind opening a PR with this useful information in the README?
I've been thinking about automating releases, but so far I'm comfortable doing it manually. Anyway, I've recently developed a love for building and publishing releases with poetry, so maybe I'll...