wikibaseintegrator.models.snaks
- class wikibaseintegrator.models.snaks.Snak(snaktype=WikibaseSnakType.KNOWN_VALUE, property_number=None, hash=None, datavalue=None, datatype=None)[source]
Bases:
BaseModel
- Parameters:
snaktype (WikibaseSnakType) –
property_number (str | None) –
hash (str | None) –
datavalue (dict | None) –
datatype (str | None) –
- __init__(snaktype=WikibaseSnakType.KNOWN_VALUE, property_number=None, hash=None, datavalue=None, datatype=None)[source]
- Parameters:
snaktype (WikibaseSnakType) –
property_number (str | None) –
hash (str | None) –
datavalue (dict | None) –
datatype (str | None) –
- property datatype
- property datavalue
- property hash
- property property_number
- property snaktype