Thank you! We'll be in touch ASAP.
Something went wrong, please try again or contact us directly at contact@dagshub.com
Deci-AI:master
deci-ai:feature/SG-489-torch_1.13
import asyncio import os.path def async_test_runner(async_io_co_routine): """ Used as a decorator to run asynchronous testing :param async_io_co_routine: :return: Wrapped function """ def wrapper(*args, **kwargs): loop = asyncio.new_event_loop() return loop.run_until_complete(async_io_co_routine(*args, **kwargs)) return wrapper def is_data_available(sub_dir: str = ""): return os.path.exists(f"/data/{sub_dir}")
Press p or to see the previous file or, n or to see the next file