4 ms·
Pydantic, yes, you can just set the default initializer to = [] or = {}. I don't think that works with dataclasses yet.
by kortex 4y ago
Pydantic, yes, you can just set the default initializer to = [] or = {}. I don't think that works with dataclasses yet.