def METHOD_NAME(self):
    commands = []
    for field in fields(self):
        result = getattr(self, field.name)
        if result:
            commands.append(f"{self._namespace}.{field.name}")
    return commands