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

Allow copying UI created labels #136

Closed
dcfidalgo opened this issue Jun 14, 2021 · 4 comments
Closed

Allow copying UI created labels #136

dcfidalgo opened this issue Jun 14, 2021 · 4 comments
Assignees
Labels
type: enhancement Indicates new feature requests

Comments

@dcfidalgo
Copy link
Contributor

When i create new labels in the UI, and do not annotate anything with these new labels, these new labels will not be copied when doing a rubrix.load&rubrix.log.

It would be nice to be able to completely copy a data set and its "state".

@dcfidalgo dcfidalgo added the type: enhancement Indicates new feature requests label Jun 14, 2021
@frascuchon
Copy link
Member

This use cases could be better solved by a rubrix.copy method. Load/log is a workaround emulation this behaviour but nothing about what original dataset metadata contains (including labels/entities)

@dcfidalgo
Copy link
Contributor Author

dcfidalgo commented Jun 21, 2021

Yes, a rb.copy method would definitely be nice, but in my case i think i slightly modified the metadata after the rb.load step, and uploaded it again. So a rb.copy that really just copies the dataset and logs it with a new name, would not have solved my specific use case.

@frascuchon
Copy link
Member

Yes, a rb.copy method would definitely be nice, but in my case i think i slightly modified the metadata after the rb.load step, and uploaded it again. So a rb.copy that really just copies the dataset and logs it with a new name, would not have solved my specific use case.

rb.copy("orig_ds", "dest_ds", tags={"override": "orig tags"})

Would this copy method modification achieve a more general copy flow?

@dcfidalgo
Copy link
Contributor Author

With tags you are referring to the tags of a dataset?

With metadata, I was referring to the metadata of the records, but I cannot recall if the change included some logic or if it was simply a replacement of values. Anyhow, I think this new copy method would definitely be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

2 participants