def serialized(self):
        to_ret = {}
        for group, requirements in self.items():
            to_ret[group] = [str(requirement) for requirement in requirements]
        return to_ret
def lazy_gettext(self, text: str, lang: str = None):
        if not babel_imported:
            raise RuntimeError('babel module is not imported. Check that you installed it.')
        return LazyProxy(self.gettext, text, lang, enable_cache=False)