f3-data-models 0.1.3__py3-none-any.whl → 0.1.4__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
@@ -279,6 +279,9 @@ class Org(Base):
279
279
  parent_org (Optional[Org]): The parent organization.
280
280
  child_orgs (List[Org]): The child organizations.
281
281
  locations (List[Location]): The locations associated with the organization.
282
+ event_tags (List[EventTag]): The event tags associated with the organization.
283
+ event_types (List[EventType]): The event types associated with the organization.
284
+ events (List[Event]): The events associated with the organization.
282
285
  """
283
286
 
284
287
  __tablename__ = "orgs"
@@ -307,6 +310,13 @@ class Org(Base):
307
310
  locations: Mapped[List["Location"]] = relationship(
308
311
  back_populates="org", lazy="joined"
309
312
  )
313
+ event_tags: Mapped[List["EventTag"]] = relationship(
314
+ back_populates="org", secondary="event_tags_x_org", lazy="joined"
315
+ )
316
+ event_types: Mapped[List["EventType"]] = relationship(
317
+ back_populates="org", secondary="event_types_x_org", lazy="joined"
318
+ )
319
+ events: Mapped[List["Event"]] = relationship(back_populates="org", lazy="joined")
310
320
 
311
321
 
312
322
  class EventType(Base):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: f3-data-models
3
- Version: 0.1.3
3
+ Version: 0.1.4
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
@@ -22,6 +22,7 @@ Requires-Dist: sphinx-multiversion (>=0.2.4,<0.3.0)
22
22
  Requires-Dist: sphinx-rtd-theme (>=3.0.2,<4.0.0)
23
23
  Requires-Dist: sqlalchemy (>=2.0.36,<3.0.0)
24
24
  Requires-Dist: sqlalchemy-schemadisplay (>=2.0,<3.0)
25
+ Requires-Dist: sqlmodel (>=0.0.22,<0.0.23)
25
26
  Project-URL: Documentation, https://github.io/F3-Nation/f3-data-models
26
27
  Project-URL: Repository, https://github.com/F3-Nation/f3-data-models
27
28
  Description-Content-Type: text/markdown
@@ -0,0 +1,6 @@
1
+ f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ f3_data_models/models.py,sha256=RV2qCarx2c3Mhun0Tmfb5u5pX7BU9SjqKvmfPmW7Mog,37057
3
+ f3_data_models/utils.py,sha256=oCxwNORr0-5l0ZugxMYLmKIbmcec-4HEdTSC1pRMoew,8002
4
+ f3_data_models-0.1.4.dist-info/METADATA,sha256=4JC5_JuICX2wdMM4W6Jp9qmUhJASzmvGhWrA0dQcPas,2361
5
+ f3_data_models-0.1.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
6
+ f3_data_models-0.1.4.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=A3uGq1cviJr2IVNZOr7NzxLdU3EtDBaZ8AoslB3XjuY,36444
3
- f3_data_models/utils.py,sha256=oCxwNORr0-5l0ZugxMYLmKIbmcec-4HEdTSC1pRMoew,8002
4
- f3_data_models-0.1.3.dist-info/METADATA,sha256=4UqqAhw03Yh0FVWG5Rr_C_cNSYc4DIEgBxZ9YG0NVeI,2318
5
- f3_data_models-0.1.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
6
- f3_data_models-0.1.3.dist-info/RECORD,,