diff --git a/src/AuDaGe/expander.py b/src/AuDaGe/expander.py new file mode 100644 index 0000000..988c70a --- /dev/null +++ b/src/AuDaGe/expander.py @@ -0,0 +1,32 @@ +""" +AuDaGe Expander module + +name: expander.py +by: Josh Lucas +date: 2026-11-03 + +desc: AuDaGe module for expanding UDT instances using their definitions. +""" + +from AuDaGe.frame import AuDaGeColumns, AuDaGeFrame, Frame + + +class DefinitionFrame( + Frame, + mandatory_columns=( + AuDaGeColumns.Mandatory.values() + AuDaGeColumns.Optional.values() + ), +): + """Dataframe for UDT definitions.""" + + +class Expander: + """Class for handling dataframe pairs with one containing UDT instances and + other tags and the other containing UDT definitions. + """ + + def __init__(self, definitions: AuDaGeFrame): + self.definitions = definitions + + def expand(self, frame: Frame) -> AuDaGeFrame: + return AuDaGeFrame()