pyx12.syntax¶
X12 syntax validation functions
Functions¶
|
Verifies the segment against the syntax |
|
|
|
Module Contents¶
- pyx12.syntax.is_syntax_valid(seg_data, syn)[source]¶
Verifies the segment against the syntax :param seg_data: data segment instance :type seg_data: L{segment<segment.Segment>} :param syn: list containing the syntax type, and the indices of elements :type syn: list[string] :rtype: tuple(boolean, error string)
- Parameters:
seg_data (pyx12.segment.Segment)
syn (list[Any])
- Return type: