f3-data-models 0.2.2__py3-none-any.whl → 0.2.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
@@ -508,9 +508,10 @@ class Location(Base):
|
|
508
508
|
description: Mapped[Optional[text]]
|
509
509
|
is_active: Mapped[bool]
|
510
510
|
email: Mapped[Optional[str]]
|
511
|
-
|
512
|
-
|
511
|
+
latitude: Mapped[Optional[float]]
|
512
|
+
longitude: Mapped[Optional[float]]
|
513
513
|
address_street: Mapped[Optional[str]]
|
514
|
+
address_street2: Mapped[Optional[str]]
|
514
515
|
address_city: Mapped[Optional[str]]
|
515
516
|
address_state: Mapped[Optional[str]]
|
516
517
|
address_zip: Mapped[Optional[str]]
|
@@ -947,54 +948,6 @@ class Expansion_x_User(Base):
|
|
947
948
|
notes: Mapped[Optional[text]]
|
948
949
|
|
949
950
|
|
950
|
-
class MagicLinkAuthRecord(Base):
|
951
|
-
"""
|
952
|
-
Model representing a Magic Link Auth Record.
|
953
|
-
|
954
|
-
Attributes:
|
955
|
-
id (int): Primary Key of the model.
|
956
|
-
email (str): The email of the user.
|
957
|
-
otp_hash (bytes): The hash of the OTP.
|
958
|
-
created (datetime): The timestamp when the record was created.
|
959
|
-
expiration (datetime): The timestamp when the record expires.
|
960
|
-
client_ip (str): The client IP address.
|
961
|
-
recent_attempts (int): The number of recent attempts.
|
962
|
-
"""
|
963
|
-
|
964
|
-
__tablename__ = "magiclinkauthrecord"
|
965
|
-
|
966
|
-
id: Mapped[intpk]
|
967
|
-
email: Mapped[str]
|
968
|
-
otp_hash: Mapped[bytes]
|
969
|
-
created: Mapped[dt_create]
|
970
|
-
expiration: Mapped[dt_create]
|
971
|
-
client_ip: Mapped[str]
|
972
|
-
recent_attempts: Mapped[int]
|
973
|
-
|
974
|
-
|
975
|
-
class MagicLinkAuthSession(Base):
|
976
|
-
"""
|
977
|
-
Model representing a Magic Link Auth Session.
|
978
|
-
|
979
|
-
Attributes:
|
980
|
-
id (int): Primary Key of the model.
|
981
|
-
email (str): The email of the user.
|
982
|
-
persistent_id (str): The persistent ID.
|
983
|
-
session_token (str): The session token.
|
984
|
-
created (datetime): The timestamp when the record was created.
|
985
|
-
expiration (datetime): The timestamp when the record expires.
|
986
|
-
"""
|
987
|
-
|
988
|
-
__tablename__ = "magiclinkauthsession"
|
989
|
-
|
990
|
-
id: Mapped[intpk]
|
991
|
-
email: Mapped[str]
|
992
|
-
persistent_id: Mapped[str]
|
993
|
-
session_token: Mapped[str]
|
994
|
-
created: Mapped[dt_create]
|
995
|
-
expiration: Mapped[dt_create]
|
996
|
-
|
997
|
-
|
998
951
|
# class Org_x_SlackChannel(Base):
|
999
952
|
# """
|
1000
953
|
# Model representing the association between organizations (specifically AOs) and Slack channels.
|
@@ -1010,3 +963,23 @@ class MagicLinkAuthSession(Base):
|
|
1010
963
|
# slack_channel_id: Mapped[str] = mapped_column(
|
1011
964
|
# primary_key=True
|
1012
965
|
# ) # Do we need a slack channel table?
|
966
|
+
|
967
|
+
# class SlackSpaceLog(Base):
|
968
|
+
# """
|
969
|
+
# Model representing a log of Slack space events.
|
970
|
+
|
971
|
+
# Attributes:
|
972
|
+
# id (int): Primary Key of the model.
|
973
|
+
# slack_space_id (int): The ID of the associated Slack space.
|
974
|
+
# event (str): The event that occurred.
|
975
|
+
# data (Optional[Dict[str, Any]]): Additional data for the log.
|
976
|
+
# created (datetime): The timestamp when the record was created.
|
977
|
+
# """
|
978
|
+
|
979
|
+
# __tablename__ = "slack_space_logs"
|
980
|
+
|
981
|
+
# id: Mapped[intpk]
|
982
|
+
# slack_space_id: Mapped[int] = mapped_column(ForeignKey("slack_spaces.id"))
|
983
|
+
# event: Mapped[str]
|
984
|
+
# data: Mapped[Optional[Dict[str, Any]]]
|
985
|
+
# created: Mapped[dt_create]
|
@@ -0,0 +1,6 @@
|
|
1
|
+
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
f3_data_models/models.py,sha256=UlLJU3eAFiklBlp_OjfXJ8lqPSUIHes45slOGf1c1Cw,36760
|
3
|
+
f3_data_models/utils.py,sha256=1hdZ2tvMiNibNZvwt0dx4PhPCw_pJGg1mG2cCvwc6CI,8857
|
4
|
+
f3_data_models-0.2.3.dist-info/METADATA,sha256=7s3Jt5yYfP9mh7wnqywoUlVbQuv5NydDCmLtiN-G3Pc,2658
|
5
|
+
f3_data_models-0.2.3.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
6
|
+
f3_data_models-0.2.3.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=C6XHs-cHZxu6SLG3mMwN86_DGpf8kmWcC6klLA_S3Ug,37429
|
3
|
-
f3_data_models/utils.py,sha256=1hdZ2tvMiNibNZvwt0dx4PhPCw_pJGg1mG2cCvwc6CI,8857
|
4
|
-
f3_data_models-0.2.2.dist-info/METADATA,sha256=0t49rFZGWKaw4V0rKEd38AzPh46oxzfK98-5u01PFwQ,2658
|
5
|
-
f3_data_models-0.2.2.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
6
|
-
f3_data_models-0.2.2.dist-info/RECORD,,
|
File without changes
|