code: def volumes_from(self, value):
          
          volumes_from = []
  
          if isinstance(value, list):
              for volume_from in value:
                  if not isinstance(volume_from, six.string_types):
                      raise TypeError("each bind must be a str. {0} was passed".format(volume_from))
  
                  volumes_from.append(self._convert_volume_from(volume_from))
          elif isinstance(value, six.string_types):
              volumes_from.append(self._convert_volume_from(value))
          elif value is None:
              pass
          else:
              raise ValueError(
                  """When passing binds they must be in one of the
                  following formats: container_path, host_path:container_path,
                  or host_path:container_path:permissions"""
              )
  
          self._volumes_from = volumes_from
docs: :param value:
          :return: