Meta

class regions.Meta(seq=None, **kwargs)[source]

Bases: dict

A base class for region metadata.

Attributes Summary

key_mapping

valid_keys

Methods Summary

copy()

Make a deep copy of this object.

setdefault(key[, value])

Insert key with a value of default if key is not in the dictionary.

update([E, ]**F)

If E is present and has a .keys() method, then does: for k in E: 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]

Attributes Documentation

key_mapping = {}
valid_keys = []

Methods Documentation

copy()[source]

Make a deep copy of this object.

setdefault(key, value=None)[source]

Insert key with a value of default if key is not in the dictionary.

Return the value for key if key is in the dictionary, else default.

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

If E is present and has a .keys() method, then does: for k in E: 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]