Skip to content

Comments

feat(pkg-py): Expose DataSource's table_name attribute#96

Merged
cpsievert merged 1 commit intomainfrom
feat/py-datasource-tablename
Nov 11, 2025
Merged

feat(pkg-py): Expose DataSource's table_name attribute#96
cpsievert merged 1 commit intomainfrom
feat/py-datasource-tablename

Conversation

@cpsievert
Copy link
Contributor

@cpsievert cpsievert commented Nov 11, 2025

This will come in handy for #69

Note: R package already has this ability (to get the table name from the data source)

@cpsievert cpsievert requested a review from Copilot November 11, 2025 21:29

This comment was marked as resolved.

@cpsievert cpsievert merged commit 8bb2bc9 into main Nov 11, 2025
6 checks passed
@cpsievert cpsievert deleted the feat/py-datasource-tablename branch November 11, 2025 21:31
self._conn = duckdb.connect(database=":memory:")
self._df = nw.from_native(df)
self._table_name = table_name
self.table_name = table_name
Copy link
Contributor

Choose a reason for hiding this comment

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

We should consider making this a read-only property; I don't think we want people changing the table name after-the fact

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