def test_plugin_get_reup_fields(context, type, fields): handle = TestDisplayHandle() return run_task(plugin.plugin_get_reup_fields( context, type, fields, handle))
def test_plugin_get_reup_fields(context, type, fields): handle = TestDisplayHandle() return async.run_task( plugin.plugin_get_reup_fields(context, type, fields, handle))
def plugin_get_reup_fields(*args, **kwargs): return asyncio.get_event_loop().run_until_complete( plugin.plugin_get_reup_fields(*args, **kwargs))