Module rpps.mod.meta
Modulation meta helpers
Functions
def Construct(j: dict)
-
Construct ModMeta from json
Classes
class ModMeta
-
Modulation meta class
Expand source code
class ModMeta(_Meta): """Modulation meta class""" __slots__ = "fields" def __init__(self): self.fields = OrderedDict(( ("Name", None), ("Type", None), ("Map", None), )) def short(self) -> str: return f"{self.fields['Name']}{self.fields['Type']}"
Ancestors
- rpps.base._meta._Meta
Instance variables
var fields
-
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Methods
def short(self) ‑> str