xn-model 1.0.23__tar.gz → 1.0.24__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xn-model
3
- Version: 1.0.23
3
+ Version: 1.0.24
4
4
  Summary: Base model for xn-api
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: MIT
@@ -23,7 +23,7 @@ class Model(TortModel):
23
23
  _sorts: tuple[str] = ("-id",)
24
24
 
25
25
  def __repr__(self, sep: str = " ") -> str:
26
- return sep.join(getattr(self, name_fragment) for name_fragment in self._name)
26
+ return sep.join(str(getattr(self, name_fragment)) for name_fragment in self._name)
27
27
 
28
28
  # @classmethod
29
29
  # def out_type(cls) -> type[BaseModel]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xn-model
3
- Version: 1.0.23
3
+ Version: 1.0.24
4
4
  Summary: Base model for xn-api
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes