pynq.metadata-metadata_view Module

Base class for the metadata views, contains common methods such as dictionary style setters and iterators. In PYNQ users are not supposed to access the metadata directly via this class.

class pynq.metadata.metadata_view.MetadataView(module: pynqmetadata.models.module.Module)[source]

Bases: object

a base class for all the view objects onto the metadata. Contains commen operations across all the view classes, such as __getitem__ and iterators.

items()[source]
keys()[source]
view

Returns the dictionary view of the metadata, this should be overloaded in the subclass to actually implement the view