Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deepdiff/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ def _from_flat_dicts(flat_dict_list):

return result

def to_flat_dicts(self, include_action_in_path=False, report_type_changes=True) -> List[FlatDeltaRow]:
def to_flat_dicts(self, include_action_in_path=False, report_type_changes=True) -> List[dict[str, Any]]:
"""
Returns a flat list of actions that is easily machine readable.

Expand Down Expand Up @@ -1121,7 +1121,7 @@ def to_flat_dicts(self, include_action_in_path=False, report_type_changes=True)
"""
return [
i._asdict() for i in self.to_flat_rows(include_action_in_path=False, report_type_changes=True)
] # type: ignore
]

def to_flat_rows(self, include_action_in_path=False, report_type_changes=True) -> List[FlatDeltaRow]:
"""
Expand Down