Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrajewski committed May 9, 2024
1 parent 9fbde8c commit 9282692
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions catalystwan/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@ def dataseq(self, cls: Type[T], sourcekey: Optional[str] = "data") -> DataSequen

if isinstance(data, Sequence):
sequence = data
elif data is None:
sequence = []
else:
sequence = [cast(dict, data)]

Expand Down

0 comments on commit 9282692

Please sign in to comment.