pyrtma.parser
Message definition YAML parser
Functions
Return the fields of a dataclass instance as a new dictionary mapping field names to field values. |
|
Shallow copy operation on arbitrary Python objects. |
|
Returns the same class as was passed in, with dunder methods added based on the fields defined in the class. |
|
Return an object to identify dataclass fields. |
|
Returns True if obj is a dataclass or an instance of a dataclass. |
|
Returns a sha256 hash object; optionally initialized with a string |
Classes
Constructor for JSONEncoder, with sensible defaults. |
|
Parser class |
|
typ: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default) |
Exceptions
Raised when a struct is not 64-bit aligned |
|
Raised when an expression contains a circular reference |
|
Raised when the a name is already in use |
|
Raised when an expression can not be expanded. |
|
Raised when the wrong file extension is referenced. |
|
Raised when the a host id is already in use |
|
Raised when a message is too large |
|
Raised when a field contains the wrong type of data |
|
Raised when the a message id is already in use |
|
Raised when the a module id is already in use |
|
Base class for all parser exceptions |
|
Raised when the parser encounters invalid RTMA syntax |
|
Raised when recursion limit is exceeded evaluating aliases and expressions. |
|
Raised when the parser encounters invalid YAML |