othmane099
othmane099
Same here! I'm also trying to figure out how to get the shipping fees via the API. Have you managed to solve this ?
It's not complete, it's just a model. I had to create a function that consumes the API
> @othmane099 this worked for you when you used master branch? Yes, it worked for me.
By adding the following ```dacite_config``` settings to ```CoreMessage```: ```python @dataclass class CoreMessage(AvroModel): messageBody: typing.Union[ MessageTypeOne, MessageTypeTwo, ] class Meta: dacite_config = { "strict_unions_match": True, "strict": True, } ``` The previous...
Thanks for your answer. I encountered another case where the types have same attribute name, for example: ```python from dataclasses_avroschema import AvroModel from dataclasses import dataclass import typing @dataclass class...