pyds.Group¶
- class pyds.Group(identifier, group_statements, validate_identifier=True)¶
Bases: pyds.Statement
Represents a PDS group statement.
- Parameters
identifier (str)
Identifier of the group.
group_statements (GroupStatements)
Nested statements of the group.
validate_identifier (True or False)
Whether identifier should be checked to see if it’s a valid identifer for a PDS group statement. Default is True.
- Raises
-
If group_statements is not a instance of GroupStatements.
-
If validate_identifier is True and identifier is not a valid identifier for a group statement.
-
- Attributes
-
- statements¶
Nested statements of the group statement. A GroupStatements instance. Read-only.
- value¶
Same as statements.
Special Methods