The get_distinct_value_props function used WikibaseHelper to find Wikibase's equivalent of Wikidata's P2302/Q21502410.
You need to create "equivalent property" and "equivalent class" only for this to works.
This commit remove that and ask to pass in parameters the property and item for distinct value constraint without intermediate query.
By default we use the items from Wikidata.
The get_distinct_value_props function used WikibaseHelper to find Wikibase's equivalent of Wikidata's P2302/Q21502410. You need to create "equivalent property" and "equivalent class" only for this to works. This commit remove that and ask to pass in parameters the property and item for distinct value constraint without intermediate query. By default we use the items from Wikidata.