f3-data-models 0.1.11__py3-none-any.whl → 0.1.13__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,13 @@ 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.
289
+ slack_space (Optional[SlackSpace]): The associated Slack workspace.
287
290
  """
288
291
 
289
292
  __tablename__ = "orgs"
@@ -306,6 +309,9 @@ class Org(Base):
306
309
  created: Mapped[dt_create]
307
310
  updated: Mapped[dt_update]
308
311
 
312
+ locations: Mapped[Optional[List["Location"]]] = relationship(
313
+ "Location", cascade="expunge"
314
+ )
309
315
  event_types: Mapped[Optional[List["EventType"]]] = relationship(
310
316
  "EventType", secondary="event_types_x_org", cascade="expunge"
311
317
  )
@@ -318,6 +324,12 @@ class Org(Base):
318
324
  parent_org: Mapped[Optional["Org"]] = relationship(
319
325
  "Org", remote_side=[id], cascade="expunge"
320
326
  )
327
+ event_tags_x_org: Mapped[Optional[List["EventTag_x_Org"]]] = relationship(
328
+ "EventTag_x_Org", cascade="expunge"
329
+ )
330
+ slack_space: Mapped[Optional["SlackSpace"]] = relationship(
331
+ "SlackSpace", secondary="orgs_x_slack_spaces", cascade="expunge"
332
+ )
321
333
 
322
334
 
323
335
  class EventType(Base):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: f3-data-models
3
- Version: 0.1.11
3
+ Version: 0.1.13
4
4
  Summary: The data schema and models for F3 Nation applications.
5
5
  Home-page: https://github.com/F3-Nation/f3-data-models
6
6
  License: MIT
@@ -0,0 +1,6 @@
1
+ f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ f3_data_models/models.py,sha256=p99wcQLWZnXNWEoKQOdoqRXafDH8Kz8hwqaQBau0LZg,37218
3
+ f3_data_models/utils.py,sha256=Ytyjn6DScRw0bxkEea_RfAgeUV3Q5I22FuT0O7aizCs,8764
4
+ f3_data_models-0.1.13.dist-info/METADATA,sha256=wdoXK64AwmudA7u2eLU6bl0TVKY6dckffK8YuIM3ZqA,2714
5
+ f3_data_models-0.1.13.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
6
+ f3_data_models-0.1.13.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,,