spacepy.datamodel.MetaMixin

class spacepy.datamodel.MetaMixin[source]

Mixin class that adds a ‘meta’ attribute that acts like ‘attrs’

Recommendation from the Python Heliophysics community is to allow access to metadata via either an attrs attribute or meta. This mixin class supports that recommendation.

__init__(*args, **kwargs)

Methods

Attributes

meta

Equivalent to attrs

Some APIs use attrs for metadata; some use meta. This is a convenience property to make it easier for those familiar with the meta convention.