Getting started
Creating an experiment
Reference
import importlib from atom.api import Str, Callable from enaml.core.api import Declarative, d_ [docs] class Symbol(Declarative): pass [docs] class ImportedSymbol(Symbol): module = d_(Str()) [docs] def get_object(self): return importlib.import_module(self.module) [docs] class Function(Symbol): function = d_(Callable()) [docs] def get_object(self): return self.function