Skip to content

fetch_dcids_by_wikidata_id improvement#227

Merged
jm-rivera merged 3 commits intodatacommonsorg:masterfrom
ONEcampaign:resolve-behaviour-inconsistency
Mar 29, 2025
Merged

fetch_dcids_by_wikidata_id improvement#227
jm-rivera merged 3 commits intodatacommonsorg:masterfrom
ONEcampaign:resolve-behaviour-inconsistency

Conversation

@jm-rivera
Copy link
Copy Markdown
Contributor

With thanks to @kmoscoe for spotting the naming inconsistency, this PR:

  • Renames .fetch_dcid_by_wikidata_id to fetch_dcids_by_wikidata_id to clarify lists are accepted.
  • Adds a test for lists of wikidata_ids

Renames method to clarify lists are accepted.
Adds a test for lists of wikidata_ids
@jm-rivera jm-rivera requested a review from dwnoble March 28, 2025 08:59
Comment thread datacommons_client/endpoints/resolve.py Outdated
Copy link
Copy Markdown
Contributor

@dwnoble dwnoble left a comment

Choose a reason for hiding this comment

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

Thanks Jorge! Approved pending kara's comment.

@jm-rivera jm-rivera merged commit a2017fa into datacommonsorg:master Mar 29, 2025
2 checks passed
@jm-rivera jm-rivera deleted the resolve-behaviour-inconsistency branch March 29, 2025 16:02
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