Skip to content

Commit 8744f70

Browse files
author
Leon Huang
committed
whitespacing
1 parent 676f7df commit 8744f70

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sdk/basyx/aas/model/base.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) 2025 the Eclipse BaSyx Authors
2-
#
2+
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.
55
#
@@ -613,7 +613,7 @@ class Referable(HasExtension, metaclass=abc.ABCMeta):
613613
@abc.abstractmethod
614614
def __init__(self):
615615
super().__init__()
616-
self._id_short: Optional[NameType] = None
616+
self._id_short: Optional[NameType] = None
617617
self._display_name: Optional[MultiLanguageNameType] = None
618618
self._category: Optional[NameType] = None
619619
self._description: Optional[MultiLanguageTextType] = None
@@ -829,8 +829,7 @@ def _set_id_short(self, id_short: Optional[NameType]):
829829
for set_ in set_add_list:
830830
set_.add(self)
831831
# Redundant to the line above. However, this way, we make sure that we really update the _id_short
832-
self._id_short = id_short
833-
832+
self._id_short = id_short
834833

835834
def _check_multiLanguageNameType(self, value: Optional[MultiLanguageNameType]) -> None:
836835
"""Ensure value is None or a MultiLanguageNameType."""
@@ -848,7 +847,6 @@ def display_name(self) -> Optional[MultiLanguageNameType]:
848847
def display_name(self, value: Optional[MultiLanguageNameType]) -> None:
849848
self._check_multiLanguageNameType(value)
850849
self._display_name = value
851-
852850

853851
def _check_MultiLanguageTextType(self, value: Optional[MultiLanguageTextType]) -> None:
854852
"""Ensure value is None or a MultiLanguageTextType."""
@@ -878,7 +876,7 @@ def update_from(self, other: "Referable"):
878876
"""
879877
for name in dir(other):
880878
# Skip private and protected attributes
881-
if name.startswith('_'):
879+
if name.startswith('_'):
882880
continue
883881

884882
# Do not update 'parent', 'namespace_element_sets'

0 commit comments

Comments
 (0)