Skip to content

Commit

Permalink
Save from itself
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Jan 23, 2025
1 parent e054b16 commit 1e36990
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fastcs/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def __init__(
description: str | None = None,
) -> None:
assert datatype.dtype in ATTRIBUTE_TYPES, (
f"Attr type must be one of {ATTRIBUTE_TYPES}, received type {datatype.dtype}"
f"Attr type must be one of {ATTRIBUTE_TYPES}"
f", received type {datatype.dtype}"
)
self._datatype: DataType[T] = datatype
self._access_mode: AttrMode = access_mode
Expand Down

0 comments on commit 1e36990

Please sign in to comment.