From 88c319103967b85910740a2ecfcf9dcd5d93124b Mon Sep 17 00:00:00 2001 From: p_monsalvete Date: Mon, 17 Jul 2023 17:44:52 -0400 Subject: [PATCH] first version --- README.md | 1 + main.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 main.py 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()