Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Can't upload MetadataAnnotations through dataframe #593

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

kbolashev
Copy link
Member

To reproduce:

  • Have a datasource with annotation metadata in it
  • Try to migrate the data from one datasource to another:
df = ds_source.all().dataframe
ds_target.upload_metadata_from_dataframe(df)

Right now this either fails (if there's no annotation field in ds_target), or uploads nothing (if there is such a field)

Also this PR includes a refactor of the metadata uploading functions, trying to DRY the 4 different versions of uploading from context/dataframe and single/multivalue fields.

@kbolashev kbolashev added bug Something isn't working enhancement New feature or request labels Feb 13, 2025
@kbolashev kbolashev self-assigned this Feb 13, 2025
Copy link

dagshub bot commented Feb 13, 2025

@kbolashev kbolashev merged commit 90c970a into master Feb 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant