Code cleanup.

This commit is contained in:
lwark
2025-04-11 14:35:00 -05:00
parent ae6717bc77
commit 58f5d361b3
20 changed files with 53 additions and 689 deletions

View File

@@ -358,7 +358,6 @@ class EditRelationship(QWidget):
obj = getattr(self.parent().omni_object, self.objectName())
if isinstance(obj, list):
logger.debug(f"This is a list")
# obj = obj[index]
try:
# NOTE: Okay, this will not work for editing, since by definition not all attributes will line up.
# NOTE: Set items to search by in the Omni object itself?
@@ -389,7 +388,7 @@ class EditRelationship(QWidget):
"""
sets data in model
"""
logger.debug(f"Self.data: {self.data}")
# logger.debug(f"Self.data: {self.data}")
try:
records = [item.to_dataframe_dict() for item in self.data]
except AttributeError: