def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def __getitem__(self, key):
        return self._states[key or DEFAULT_DB_ALIAS]