MetaData

class astropy.utils.metadata.MetaData(doc='', copy=True)[source] [edit on github]

Bases: object

A descriptor for classes that have a meta property.

This can be set to any valid Mapping.

Parameters:
doc : str, optional

Documentation for the attribute of the class. Default is "".

New in version 1.2.

copy : bool, optional

If True the the value is deepcopied before setting, otherwise it is saved as reference. Default is True.

New in version 1.2.