def __init__(self,
                 list_domain,
                 list_key,
                 list_name,
                 list_description,
                 zk_hosts,
                 aws_keyfile,
                 s3_bucket,
                 s3_endpoint="s3.amazonaws.com",
                 force_config_update=False,
                 renderer=None,
                 key_validators=None,
                 validators=None):

        if not self._ALPHANUMERICS_RE.search(list_key):
            raise ValueError("list_key must contain only alphanumerics, _ and -")

        if not self._ALPHANUMERICS_RE.search(list_domain):
            raise ValueError(
                "list_domain must contain only alphanumerics, _ and -")

        self.list_domain = list_domain
        self.list_key = list_key
        self.list_version_key = "{0}-latest_version".format(self.list_key)
        self.list_name = list_name
        self.list_description = list_description

        self.force_config_update = force_config_update
        self.renderer = renderer
        self.key_validators = key_validators or []
        self.validators = validators or []

        self.zk_hosts = zk_hosts
        self.aws_keyfile = aws_keyfile
        self.s3_bucket = s3_bucket
        self.s3_endpoint = s3_endpoint

        if self.list_domain not in self.all_managed_lists:
            self.all_managed_lists[self.list_domain] = {}

        # Make sure (list_domain, list_key) is unique among all managed data structures.
        assert self.list_key not in self.all_managed_lists[self.list_domain], \
            '%s:%s is already in use' % (self.list_domain, self.list_key)

        self.all_managed_lists[self.list_domain][self.list_key] = self
        self.all_domains.add(self.list_key)

        if self.list_domain not in self.list_domain_to_name_mappings:
            self.list_domain_to_name_mappings[self.list_domain] = (
                self.list_domain.upper())
Args:
dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedDataStructure.__init__