Skip to content

Commit

Permalink
Merge pull request #66 from hoverinc/fix-parent_connection-update
Browse files Browse the repository at this point in the history
Fix parent connection update
  • Loading branch information
JustinGrilli authored Oct 5, 2023
2 parents f6941d3 + c2fd473 commit 2f28065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
long_description=readme,
long_description_content_type='text/markdown',
name="tableau_utilities",
version="2.0.65",
version="2.0.66",
packages=[
'tableau_utilities',
'tableau_utilities.general',
Expand Down
2 changes: 2 additions & 0 deletions tableau_utilities/tableau_file/tableau_file_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,8 @@ def update(self, item):
if item.class_name in self.named_connections:
self.named_connections[item.class_name].caption = item.server
self.named_connections[item.class_name].connection = item
if item.schema and self.relation.type == 'table':
self.relation.table = f'[{item.schema}].' + self.relation.table.split('.')[-1]

def dict(self):
dictionary = {'@class': self.class_name}
Expand Down

0 comments on commit 2f28065

Please sign in to comment.