Skip to content

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

@kautukraj

Description

@kautukraj

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions