GlobalMetaData

class GlobalMetaData(*args, **kwargs)[source]

Bases: dict

A class to store global meta data.

This class is a singleton, meaning that only one instance can exist at a time.

__init__(mapping=None, /, **kwargs)[source]
__call__(*args, **kwargs)

Call self as a function.

Methods

__init__([mapping])

fromkeys(iterable[, value])

Create a new dictionary with keys from iterable and values set to value.

update([E, ]**F)

If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

classmethod fromkeys(iterable, value=None, /)

Create a new dictionary with keys from iterable and values set to value.

update([E, ]**F) → None.  Update D from mapping/iterable E and F.[source]

If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]