working_with_catalogs/main.py

15 lines
296 B
Python
Raw Permalink Normal View History

2023-07-17 17:44:52 -04:00
import sys
from hub.catalog_factories.usage_catalog_factory import UsageCatalogFactory
try:
print('[process start]')
catalog = UsageCatalogFactory('').catalog
print('[process end]')
except Exception as ex:
print(ex)
print('error: ', ex)
print('[process abort]')
sys.stdout.flush()