__init__ constructor

On this page

init

Initializes a new instance of the MetadataItem class.

An instance of MetadataItem class is used as return value of Parser.get_metadata method.

def __init__(self, name, value):
    ...
Parameter Type Description
name str The name of the metadata item.
value str The value of the metadata item.

See Also

On this page