When using an extract based on a text file I got an error due to attributes missing from the relation. This should be very low priority to fix since we generally use databases with this package.
Traceback (most recent call last):
File "/Users/jayrosenthal/code/tableau-utilities/venv/bin/tableau_utilities", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/jayrosenthal/code/tableau-utilities/venv/lib/python3.12/site-packages/tableau_utilities/scripts/cli.py", line 487, in main
args.func(args, server)
File "/Users/jayrosenthal/code/tableau-utilities/venv/lib/python3.12/site-packages/tableau_utilities/scripts/datasource.py", line 72, in datasource
ds = Datasource(datasource_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jayrosenthal/code/tableau-utilities/venv/lib/python3.12/site-packages/tableau_utilities/tableau_file/tableau_file.py", line 146, in __init__
self.connection: tfo.ParentConnection = self.__get_section(tfo.ParentConnection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jayrosenthal/code/tableau-utilities/venv/lib/python3.12/site-packages/tableau_utilities/tableau_file/tableau_file.py", line 210, in __get_section
raise TableauFileError(f'{err}\n\nPre-transform {obj.tag} attributes: {item}') from err
tableau_utilities.tableau_file.tableau_file.TableauFileError: Relation.__init__() got an unexpected keyword argument 'columns'
When using an extract based on a text file I got an error due to attributes missing from the relation. This should be very low priority to fix since we generally use databases with this package.
The error occured in the columns section:
Traceback