Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bg_import doc example fails #50

Open
pbavinck opened this issue Apr 3, 2024 · 0 comments
Open

bg_import doc example fails #50

pbavinck opened this issue Apr 3, 2024 · 0 comments

Comments

@pbavinck
Copy link

pbavinck commented Apr 3, 2024

Following the README:

When executing the bg_import command with the -v parameter to retrieve an explanation of individual parameters, the command fails with the following traceback:

python3 bg_import/business_glossary_import.py -h
Traceback (most recent call last):
  File "/home/peter/dataplex-labs/dataplex-quickstart-labs/00-resources/scripts/python/business-glossary-import/bg_import/business_glossary_import.py", line 6, in <module>
    import categories_csv_parser
  File "/home/peter/dataplex-labs/dataplex-quickstart-labs/00-resources/scripts/python/business-glossary-import/bg_import/categories_csv_parser.py", line 13, in <module>
    import error
  File "/home/peter/dataplex-labs/dataplex-quickstart-labs/00-resources/scripts/python/business-glossary-import/bg_import/error.py", line 20, in <module>
    class Error(abc.ABC):
  File "/home/peter/dataplex-labs/dataplex-quickstart-labs/00-resources/scripts/python/business-glossary-import/bg_import/error.py", line 42, in Error
    message: str | None = None,
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Running the import with a CSV file, same error.
Python version: 3.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant