Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck committed Jan 5, 2025
1 parent 39bfc1a commit 42cf87b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions py_serializable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,9 +1066,9 @@ def __hash__(self) -> int:

def __repr__(self) -> str:
return f'<s.oml.SerializableProperty name={self.name}, custom_names={self.custom_names}, ' \
f'array={self.is_array}, enum={self.is_enum}, optional={self.is_optional}, ' \
f'c_type={self.concrete_type}, type={self.type_}, custom_type={self.custom_type}, ' \
f'xml_attr={self.is_xml_attribute}, xml_sequence={self.xml_sequence}>'
f'array={self.is_array}, enum={self.is_enum}, optional={self.is_optional}, ' \
f'c_type={self.concrete_type}, type={self.type_}, custom_type={self.custom_type}, ' \
f'xml_attr={self.is_xml_attribute}, xml_sequence={self.xml_sequence}>'

@classmethod
def defer_property_type_parsing(cls, prop: 'ObjectMetadataLibrary.SerializableProperty',
Expand Down
2 changes: 1 addition & 1 deletion tests/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def __str__(self) -> str:


@py_serializable.serializable_class(name='bigbook',
ignore_during_deserialization=['something_to_be_ignored', 'ignore_me', 'ignored'])
ignore_during_deserialization=['something_to_be_ignored', 'ignore_me', 'ignored'])
class Book:

def __init__(self, title: str, isbn: str, publish_date: date, authors: Iterable[str],
Expand Down

0 comments on commit 42cf87b

Please sign in to comment.