Module rpps.inter.meta
Interface meta helpers
Functions
def Construct(j: dict)
-
Generate interface meta from json
Classes
class InterMeta
-
Interface meta class
Expand source code
class InterMeta(_Meta): """Interface meta class""" __slots__ = "fields" def __init__(self): self.fields = OrderedDict( ( ("Baud", None), ) ) def short(self) -> str: return f"{self.fields['Baud']}"
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