def create_dict(self, **kwargs) -> dict:
    return dict(name=self.name, company=self.company, url=self.url, platform=self.platform, version=self.version, agency=self.agency, email=self.email, currencies=[c.to_dict() for c in self.currencies], categories=[c.to_dict() for c in self.categories], delivery_options=[o.to_dict() for o in self.delivery_options], pickup_options=[o.to_dict() for o in self.pickup_options], enable_auto_discounts=self.enable_auto_discounts, offers=[o.to_dict() for o in self.offers], gifts=([g.to_dict() for g in self.gifts] if self.gifts else []), promos=([p.to_dict() for p in self.promos] if self.promos else []))
def create_dict(self, **kwargs) -> dict:
    return dict(name=self.name, company=self.company, url=self.url, platform=self.platform, version=self.version, agency=self.agency, email=self.email, currencies=[c.to_dict() for c in self.currencies], categories=[c.to_dict() for c in self.categories], delivery_options=[o.to_dict() for o in self.delivery_options], pickup_options=[o.to_dict() for o in self.pickup_options], enable_auto_discounts=self.enable_auto_discounts, offers=[o.to_dict() for o in self.offers], gifts=([g.to_dict() for g in self.gifts] if self.gifts else []), promos=([p.to_dict() for p in self.promos] if self.promos else []))