alpha-python 0.7.6__py3-none-any.whl → 0.7.7__py3-none-any.whl

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.
@@ -25,7 +25,7 @@ class Permission(LifeCycleBase, BaseDomainModel):
25
25
  """
26
26
 
27
27
  id: UUID | int | str | None = None
28
- name: str
28
+ name: str | None = None
29
29
  description: str = ""
30
30
 
31
31
  def __str__(self) -> str:
@@ -35,7 +35,7 @@ class Permission(LifeCycleBase, BaseDomainModel):
35
35
  -------
36
36
  self.name value
37
37
  """
38
- return self.name
38
+ return self.name or ""
39
39
 
40
40
  def __repr__(self) -> str:
41
41
  """Return the official string representation of the object.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alpha-python
3
- Version: 0.7.6
3
+ Version: 0.7.7
4
4
  Summary: Alpha is intended to be the first dependency you need to add to your Python application. It is a Python library which contains standard building blocks that can be used in applications that are used as APIs and/or make use of database interaction.
5
5
  Author-email: Bart Reijling <bart@reijling.eu>
6
6
  License-Expression: MIT
@@ -13,7 +13,7 @@ alpha/domain/models/__init__.py,sha256=RNRqFDYw0KhFb4yPa9kC_otFGNH7wakpm3lk5y6iG
13
13
  alpha/domain/models/base_model.py,sha256=eI6ff0qugsQhWZahBoGH7xWMVY9Mhss9XdGR3yecG28,1826
14
14
  alpha/domain/models/group.py,sha256=yrSDbt1MsQ-8rYl57jKlA-gJAn8q_qseT7T0LwgvFSs,4144
15
15
  alpha/domain/models/life_cycle_base.py,sha256=xRwcTPRR0pHwsBN_dyaN8d1AVuKOEF6iNCS0IWZntDY,875
16
- alpha/domain/models/permission.py,sha256=-5wcJwS-_LVADpH2sr5wC6s2AqolS5JrdEdZ1jym9RI,3175
16
+ alpha/domain/models/permission.py,sha256=pqFu6WnqEqry9x8InPhXNTZInLcoY7fb9Fk8jMBRISw,3195
17
17
  alpha/domain/models/role.py,sha256=95cUc8VDB7o_IXJdTBF0KFJUyvOfRtpNkxTslzpVqIQ,4614
18
18
  alpha/domain/models/user.py,sha256=H64rNrjY9VV-ljux_HIEyxT0O4zlLaIXMzZLEyCKLZY,6868
19
19
  alpha/factories/__init__.py,sha256=baxoq0UY7UYust7NiR9wT954nJw5bfgSmOWvLjBt2C4,278
@@ -144,9 +144,9 @@ alpha/utils/openapi_test/models.py,sha256=POqDD2v2VqPmVLnbvgZ0kVlVzL9Are1oFHmuyy
144
144
  alpha/utils/openapi_test/orm.py,sha256=Py95GV_0e7wI1MYDZR1_EHkvTgev6eNo70SVmnD7kGc,3045
145
145
  alpha/utils/openapi_test/response.py,sha256=IxbQ6Nw258LLViHkgfjOpc7zWGTP8ofVOX1zrwDoR50,270
146
146
  alpha/utils/openapi_test/service.py,sha256=ycrEUlQmygKthnOhEiir-wtbPFi5cT-bepVclaL9FAk,5003
147
- alpha_python-0.7.6.dist-info/licenses/LICENSE,sha256=5KwEqC3KUoH4lVXgZ9tGriKOl-LGxHkXBWo16mFmAYM,1070
148
- alpha_python-0.7.6.dist-info/METADATA,sha256=7cdXcm4nOikzottZr80DfxfLbr95LIAX9TSmX_b3xas,8639
149
- alpha_python-0.7.6.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
150
- alpha_python-0.7.6.dist-info/entry_points.txt,sha256=LBEXdcofOugYYdZ46nz5Dxj_aj1QbRBkumfPGhy-GXI,41
151
- alpha_python-0.7.6.dist-info/top_level.txt,sha256=tqmNnOmi2RSSiPo99C03fD5Cc3r9za9xTjPAoQC1EGA,6
152
- alpha_python-0.7.6.dist-info/RECORD,,
147
+ alpha_python-0.7.7.dist-info/licenses/LICENSE,sha256=5KwEqC3KUoH4lVXgZ9tGriKOl-LGxHkXBWo16mFmAYM,1070
148
+ alpha_python-0.7.7.dist-info/METADATA,sha256=GdYSiVbPsISAEo1L9Z-nai_ow77gC5R7urY5YKUV8VQ,8639
149
+ alpha_python-0.7.7.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
150
+ alpha_python-0.7.7.dist-info/entry_points.txt,sha256=LBEXdcofOugYYdZ46nz5Dxj_aj1QbRBkumfPGhy-GXI,41
151
+ alpha_python-0.7.7.dist-info/top_level.txt,sha256=tqmNnOmi2RSSiPo99C03fD5Cc3r9za9xTjPAoQC1EGA,6
152
+ alpha_python-0.7.7.dist-info/RECORD,,