def _setup_properties(self, properties, function): """Use defined schema properties as kwargs for loadbalancer objects.""" if properties and function: return [function(**self._remove_none(item_dict)) for item_dict in properties] elif function: return [function()]