diff --git a/README.md b/README.md index 243bc44..a6c2bf3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # working_with_catalogs +This is a project to learn how to interact with catalogs in Hub. \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..a05cd01 --- /dev/null +++ b/main.py @@ -0,0 +1,14 @@ +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()