def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def __getitem__(self, key):
        return self._states[key or DEFAULT_DB_ALIAS]