code: def attribute_labels(self, attribute_id, params=None):
          
          if params is None:
              params = {}
          if not self.can_update():
              self._tcex.handle_error(910, [self.type])
  
          for al in self.tc_requests.attribute_labels(
              self.api_type,
              self.api_sub_type,
              self.unique_id,
              attribute_id,
              owner=self.owner,
              params=params,
          ):
              yield al
docs: Gets the security labels from a attribute
  
          Yields: Security label json