def get_resource(name):
    module = importlib.import_module('tower_cli.resources.%s' % name)
    return module.Resource()
Return an instance of the requested Resource class.
dataset/ETHPy150Open ansible/tower-cli/lib/tower_cli/__init__.py/get_resource