Skip to content

Commit 0da4b93

Browse files
committed
tiny fix in Operand '| None' error.
1 parent 4261f34 commit 0da4b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pynxtools/nomad/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def nxdata_ensure_definition(
410410
self,
411411
def_or_name: Property | str,
412412
*,
413-
hint: str | None = None,
413+
hint: Optional[str] = None,
414414
) -> Property:
415415
current_cls = section_definitions[f"{_rename_nx_for_nomad('NXdata')}"].section_cls
416416
if isinstance(def_or_name, str):

0 commit comments

Comments
 (0)