unknowntpo commented on PR #6903:
URL: https://github.com/apache/gravitino/pull/6903#issuecomment-2824014053
@tsungchih Could you explain why you need to implement a `json_serdes` util
? See what `MetalakeDTO` did, simply inherit from`DataClassJsonMixin` of
`dataclasses_json` library.
```
from dataclasses_json import DataClassJsonMixin, config
...
@dataclass
class MetalakeDTO(Metalake, DataClassJsonMixin):
...
```
Reference:
- [Docs from dataclass-json](https://lidatong.github.io/dataclasses-json/)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]