f3-data-models 0.1.16__py3-none-any.whl → 0.2.0__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
@@ -313,10 +313,10 @@ class Org(Base):
313
313
  "Location", cascade="expunge"
314
314
  )
315
315
  event_types: Mapped[Optional[List["EventType"]]] = relationship(
316
- "EventType", secondary="event_types_x_org", cascade="expunge"
316
+ "EventType", secondary="event_types_x_org", cascade="expunge", viewonly=True
317
317
  )
318
318
  event_tags: Mapped[Optional[List["EventTag"]]] = relationship(
319
- "EventTag", secondary="event_tags_x_org", cascade="expunge"
319
+ "EventTag", secondary="event_tags_x_org", cascade="expunge", viewonly=True
320
320
  )
321
321
  achievements: Mapped[Optional[List["Achievement"]]] = relationship(
322
322
  "Achievement", secondary="achievements_x_org", cascade="expunge"
@@ -777,7 +777,7 @@ class Attendance(Base):
777
777
  innerjoin=False, cascade="expunge", secondary="users", viewonly=True
778
778
  )
779
779
  attendance_x_attendance_types: Mapped[List[Attendance_x_AttendanceType]] = (
780
- relationship(back_populates="attendance", cascade="expunge")
780
+ relationship(back_populates="attendance")
781
781
  )
782
782
  attendance_types: Mapped[List[AttendanceType]] = relationship(
783
783
  secondary="attendance_x_attendance_types",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: f3-data-models
3
- Version: 0.1.16
3
+ Version: 0.2.0
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=diapUci73UBcs7D70NzscLKR8TfeCkZlNRi6NWMNtJ0,37248
3
+ f3_data_models/utils.py,sha256=1hdZ2tvMiNibNZvwt0dx4PhPCw_pJGg1mG2cCvwc6CI,8857
4
+ f3_data_models-0.2.0.dist-info/METADATA,sha256=7CkSIXvze7QUUXiWzb5_heZOLgd6TAhH9nibw4dRino,2713
5
+ f3_data_models-0.2.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
6
+ f3_data_models-0.2.0.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=_Mnw9oYGvG2XFOsBH0RdmBJxTos06IUZdx06KF1xUjg,37237
3
- f3_data_models/utils.py,sha256=1hdZ2tvMiNibNZvwt0dx4PhPCw_pJGg1mG2cCvwc6CI,8857
4
- f3_data_models-0.1.16.dist-info/METADATA,sha256=TKh-7TxxCkI6iIW2l4jNzAdHz1le6o6IZQaky9IORFY,2714
5
- f3_data_models-0.1.16.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
6
- f3_data_models-0.1.16.dist-info/RECORD,,