f3-data-models 0.6.1__py3-none-any.whl → 0.6.3__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.
f3_data_models/models.py
CHANGED
@@ -359,7 +359,7 @@ class Role(Base):
|
|
359
359
|
|
360
360
|
Attributes:
|
361
361
|
id (int): Primary Key of the model.
|
362
|
-
name (
|
362
|
+
name (str): The unique name of the role.
|
363
363
|
description (Optional[text]): A description of the role.
|
364
364
|
created (datetime): The timestamp when the record was created.
|
365
365
|
updated (datetime): The timestamp when the record was last updated.
|
@@ -368,7 +368,7 @@ class Role(Base):
|
|
368
368
|
__tablename__ = "roles"
|
369
369
|
|
370
370
|
id: Mapped[intpk]
|
371
|
-
name: Mapped[
|
371
|
+
name: Mapped[str] = mapped_column(VARCHAR, unique=True)
|
372
372
|
description: Mapped[Optional[text]]
|
373
373
|
created: Mapped[dt_create]
|
374
374
|
updated: Mapped[dt_update]
|
@@ -780,7 +780,7 @@ class Event(Base):
|
|
780
780
|
)
|
781
781
|
|
782
782
|
org: Mapped[Org] = relationship(innerjoin=True, cascade="expunge", viewonly=True)
|
783
|
-
location: Mapped[Location] = relationship(innerjoin=
|
783
|
+
location: Mapped[Location] = relationship(innerjoin=False, cascade="expunge", viewonly=True)
|
784
784
|
event_types: Mapped[List[EventType]] = relationship(
|
785
785
|
secondary="events_x_event_types",
|
786
786
|
innerjoin=True,
|
@@ -0,0 +1,7 @@
|
|
1
|
+
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
f3_data_models/models.py,sha256=r8qogzeYHNTUVmjzqToCGjbyKh3SAVghLHiQi2xBRMw,61208
|
3
|
+
f3_data_models/testing.py,sha256=uHHgrfMOpUvu6-yOyuMsGadyeN-zuAFRYuGQNpXX4Lk,598
|
4
|
+
f3_data_models/utils.py,sha256=5ijpywxWMZZ5TZr7L7rLjs3QVsAHFvTQLtsrzIcnm04,12153
|
5
|
+
f3_data_models-0.6.3.dist-info/METADATA,sha256=yRg6rWRJhTeZdEeiBzsEuPHSl3xuurH89NcM11iYcG8,3674
|
6
|
+
f3_data_models-0.6.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
+
f3_data_models-0.6.3.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
f3_data_models/models.py,sha256=FdmVY8qs-d_4v8BRRxvo9UVQzCf50MY3vOJNJQWr1uY,61178
|
3
|
-
f3_data_models/testing.py,sha256=uHHgrfMOpUvu6-yOyuMsGadyeN-zuAFRYuGQNpXX4Lk,598
|
4
|
-
f3_data_models/utils.py,sha256=5ijpywxWMZZ5TZr7L7rLjs3QVsAHFvTQLtsrzIcnm04,12153
|
5
|
-
f3_data_models-0.6.1.dist-info/METADATA,sha256=C8Vq_9pLP8OhO_wTtWr6OlONCNvcG3xulGXta07U71I,3674
|
6
|
-
f3_data_models-0.6.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
-
f3_data_models-0.6.1.dist-info/RECORD,,
|
File without changes
|