How to use the yay.ast.PythonClassFactory function in yay

To help you get started, we’ve selected a few yay examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yaybu / yaybu / yaybu / core / config.py View on Github external
def setup_builtins(self):
        self.builtins = {}
        for key, value in self.default_builtins.items():
            self.builtins[key] = ast.PythonClassFactory(value)