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

AttributeError: module 'wikidataintegrator' has no attribute 'wdi_property_store' #3

Open
kautukraj opened this issue Aug 12, 2023 · 0 comments

Comments

@kautukraj
Copy link

kautukraj commented Aug 12, 2023

I am trying to follow the tutorial and running the code as-is, but the following error is coming up: AttributeError: module 'wikidataintegrator' has no attribute 'wdi_property_store'.

This is stemming from the below snippets of the add_items.py file.

WI.wdi_property_store.wd_properties = {
    'P6': {
        'datatype': 'string',
        'name': 'LJ Slug ID', 
        'domain': ['linkedjazz'], # this is a wikidataintergrator thing, to group properties together
        'core_id': True 
    }
}

I searched around a little and found that the wdi_property_store class has been removed fron the wikidataintegrator package.
SuLab/WikidataIntegrator#71
SuLab/WikidataIntegrator@1c298a7

What could be a possible workaround or solution for fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant