-
I see a new Label class, but that only has a pass. Is it possible to write a label? If so, how should this be done? If not, what would be needed to implement this? |
Beta Was this translation helpful? Give feedback.
Answered by
LeMyst
Oct 7, 2021
Replies: 1 comment
-
Hello @pgrond , yes, label is implemented in v0.12: wbi = WikibaseIntegrator()
item = wbi.item.get(entity_id='Q141806')
item.labels.set(language='en', value='An updated item', action_if_exists=ActionIfExists.KEEP)
item.write() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pgrond
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @pgrond ,
Sorry for the late reply.
yes, label is implemented in v0.12: