

def Db(*args, **kwarg):
    _import = settings.OPPS_DB_ENGINE.split('.')[(- 1)]
    _from = '.'.join(settings.OPPS_DB_ENGINE.split('.')[:(- 1)])
    call = getattr(__import__(_from, fromlist=[_import]), kwarg)
    return call(*args)

dataset/ETHPy150Open opps/opps/opps/db/__init__.py Db/VarMisuse@69/86 `_import`->`kwarg`