f3-data-models 0.1.11__py3-none-any.whl → 0.1.12__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
@@ -280,10 +280,12 @@ class Org(Base):
|
|
280
280
|
created (datetime): The timestamp when the record was created.
|
281
281
|
updated (datetime): The timestamp when the record was last updated.
|
282
282
|
|
283
|
+
locations (Optional[List[Location]]): The locations associated with the organization. Probably only relevant for regions.
|
283
284
|
event_types (Optional[List[EventType]]): The event types associated with the organization. Used to control which event types are available for selection at the region level.
|
284
285
|
event_tags (Optional[List[EventTag]]): The event tags associated with the organization. Used to control which event tags are available for selection at the region level.
|
285
286
|
achievements (Optional[List[Achievement]]): The achievements available within the organization.
|
286
287
|
parent_org (Optional[Org]): The parent organization.
|
288
|
+
event_tags_x_org (Optional[List[EventTag_x_Org]]): The association between event tags and organizations.
|
287
289
|
"""
|
288
290
|
|
289
291
|
__tablename__ = "orgs"
|
@@ -306,6 +308,9 @@ class Org(Base):
|
|
306
308
|
created: Mapped[dt_create]
|
307
309
|
updated: Mapped[dt_update]
|
308
310
|
|
311
|
+
locations: Mapped[Optional[List["Location"]]] = relationship(
|
312
|
+
"Location", cascade="expunge"
|
313
|
+
)
|
309
314
|
event_types: Mapped[Optional[List["EventType"]]] = relationship(
|
310
315
|
"EventType", secondary="event_types_x_org", cascade="expunge"
|
311
316
|
)
|
@@ -318,6 +323,9 @@ class Org(Base):
|
|
318
323
|
parent_org: Mapped[Optional["Org"]] = relationship(
|
319
324
|
"Org", remote_side=[id], cascade="expunge"
|
320
325
|
)
|
326
|
+
event_tags_x_org: Mapped[Optional[List["EventTag_x_Org"]]] = relationship(
|
327
|
+
"EventTag_x_Org", cascade="expunge"
|
328
|
+
)
|
321
329
|
|
322
330
|
|
323
331
|
class EventType(Base):
|
@@ -0,0 +1,6 @@
|
|
1
|
+
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
f3_data_models/models.py,sha256=UjkF7RnOsAnIPPIY8YCzOHWMRrq5ixL0_Tzee3LZ_0Y,36999
|
3
|
+
f3_data_models/utils.py,sha256=Ytyjn6DScRw0bxkEea_RfAgeUV3Q5I22FuT0O7aizCs,8764
|
4
|
+
f3_data_models-0.1.12.dist-info/METADATA,sha256=ARvUizpQnSJI_NH__DvWcgUhhrLJjCf7RMzZdZwwH_4,2714
|
5
|
+
f3_data_models-0.1.12.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
6
|
+
f3_data_models-0.1.12.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
f3_data_models/models.py,sha256=UV-O8z6pciSD9ZmBv-X95p4We1RX0elRFlW2aenTt2s,36517
|
3
|
-
f3_data_models/utils.py,sha256=Ytyjn6DScRw0bxkEea_RfAgeUV3Q5I22FuT0O7aizCs,8764
|
4
|
-
f3_data_models-0.1.11.dist-info/METADATA,sha256=Zs1LWDl6jEuVFQt8a2IvzBsl0CVMKMMtkQ9vMzPqDc4,2714
|
5
|
-
f3_data_models-0.1.11.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
6
|
-
f3_data_models-0.1.11.dist-info/RECORD,,
|
File without changes
|