Skip to content

[Metadata Composite Keys] Update set_primary_key docstring#2841

Open
pvk-developer wants to merge 1 commit intofeature/metadata-composite-keysfrom
issue-2824-update-set_primary_key-docstring-in-metadata
Open

[Metadata Composite Keys] Update set_primary_key docstring#2841
pvk-developer wants to merge 1 commit intofeature/metadata-composite-keysfrom
issue-2824-update-set_primary_key-docstring-in-metadata

Conversation

@pvk-developer
Copy link
Member

Resolves #2824
CU-86b8n8h1r

@sdv-team
Copy link
Contributor

@pvk-developer pvk-developer marked this pull request as ready for review March 11, 2026 17:07
@pvk-developer pvk-developer requested a review from a team as a code owner March 11, 2026 17:07
@pvk-developer pvk-developer requested review from frances-h and removed request for a team March 11, 2026 17:07
@pvk-developer pvk-developer requested a review from fealho March 11, 2026 17:07
@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.63%. Comparing base (868be4d) to head (76a0fec).

❗ There is a different number of reports uploaded between BASE (868be4d) and HEAD (76a0fec). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (868be4d) HEAD (76a0fec)
unit 1 0
Additional details and impacted files
@@                         Coverage Diff                          @@
##           feature/metadata-composite-keys    #2841       +/-   ##
====================================================================
- Coverage                            98.07%   75.63%   -22.45%     
====================================================================
  Files                                   73       73               
  Lines                                 8278     8278               
====================================================================
- Hits                                  8119     6261     -1858     
- Misses                                 159     2017     +1858     
Flag Coverage Δ
integration 75.63% <ø> (ø)
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@fealho fealho left a comment

Choose a reason for hiding this comment

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

The issue also asks to "update the docstring for SingleTableMetadata.set_primary_key".

Args:
table_name (str):
Name of the table to set the primary key.
column_name (str, tulple[str]):
Copy link
Member

Choose a reason for hiding this comment

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

Typo, tulple

But shouldn't this be a list?

"""Set the primary key of a table.

Args:
table_name (str):
Copy link
Member

Choose a reason for hiding this comment

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

Wrong order, column_name comes first

"*.ipynb",
".ipynb_checkpoints",
"tasks.py",
"*.md",
Copy link
Member

Choose a reason for hiding this comment

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

What's this?

@sdv-team
Copy link
Contributor

This Pull Request is not linked to an issue. To ensure our community is able to accurately track resolved issues, please link any issue that will be closed by this PR!

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.

3 participants