Skip to content

Conversation

@HonahX
Copy link

@HonahX HonahX commented Apr 7, 2024

No description provided.


def name_mapping(self) -> Optional[NameMapping]:
"""Return the table's field-id NameMapping."""
if name_mapping_json := self.properties.get("schema.name-mapping.default"):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot use TableProperties class here since it will cause circular import issue. Maybe we should consider move the whole class from __init__.py to metadata.py?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that sounds like a good idea.

@Fokko Fokko merged commit fbf6492 into Fokko:fd-update-datascan Apr 8, 2024
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

Successfully merging this pull request may close these issues.

2 participants