Skip to content

Commit

Permalink
class metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
zavoraad committed Oct 30, 2024
1 parent 85f66d3 commit c88f8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databricksx12/edi.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def summary(self):
# @returns a python dictionary representing metadata found in EDI/FunctionalGroup/Transaction classes
#
@staticmethod
def class_metadata(cls_obj, exclude=['data', 'raw_data']):
def class_metadata(cls_obj, exclude=['data', 'raw_data', 'isa']):
return {str(cls_obj.__class__.__name__ + "." + attr): getattr(cls_obj, attr) for attr in dir(cls_obj) if not callable(getattr(cls_obj, attr)) and not attr.startswith("__") and attr not in exclude}

#
Expand Down

0 comments on commit c88f8ca

Please sign in to comment.