Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
XzzX committed Feb 14, 2025
1 parent db24275 commit f37dccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_database/generic_storage/json_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __getitem__(self, key: str) -> Any:
return self.data[key]

def __setitem__(self, key: str, value: Any) -> None:
if isinstance(value, (int, float, str, list, NoneType)):
if isinstance(value, int | float | str | list | NoneType):
self.data[key] = value
return

Expand Down

0 comments on commit f37dccc

Please sign in to comment.