LeMyst / WikibaseIntegrator

A Python module to manipulate data on a Wikibase instance (like Wikidata) through the MediaWiki Wikibase API and the Wikibase SPARQL endpoint.
MIT License
67 stars 14 forks source link

Improve ActionIfExists by using enum.Flag #662

Open LeMyst opened 9 months ago

LeMyst commented 9 months ago

Like stated in https://github.com/LeMyst/WikibaseIntegrator/pull/619#issuecomment-1714450174 it will be useful the have the enum.Flag support to specifically set the behavior of the ActionIfExists.

dpriskorn commented 2 months ago

I prefer to have an enum for all possibilities, as that is slightly easier to understand for the user. I thus suggest we close this.