def save(self):
     client = MarketAccessAPIClient(self.token)
     client.barriers.patch(id=self.id, product=self.cleaned_data["product"])
 def save(self):
     client = MarketAccessAPIClient(self.token)
     client.barriers.patch(id=self.id, title=self.cleaned_data["title"])
 def save(self):
     client = MarketAccessAPIClient(self.token)
     client.barriers.patch(
         id=self.id, trade_direction=self.cleaned_data["trade_direction"])
 def save(self):
     client = MarketAccessAPIClient(self.token)
     client.barriers.patch(
         id=self.id,
         caused_by_trading_bloc=self.cleaned_data["caused_by_trading_bloc"],
     )
 def save(self):
     client = MarketAccessAPIClient(self.token)
     client.barriers.patch(
         id=self.id,
         end_date=self.cleaned_data.get("end_date"),
     )