Skip to content

Commit

Permalink
Reformat omfg
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz authored and hoh committed Jan 22, 2024
1 parent c26581f commit 614b983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/sdk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def extended_json_encoder(obj: Any) -> Any:


def parse_volume(volume_dict: Union[Mapping, MachineVolume]) -> MachineVolume:
# Python 3.9 does not support `isinstance(volume_dict, MachineVolume)`,
# Python 3.9 does not support `isinstance(volume_dict, MachineVolume)`,
# so we need to iterate over all types.
if any(
isinstance(volume_dict, volume_type) for volume_type in get_args(MachineVolume)
Expand Down

0 comments on commit 614b983

Please sign in to comment.