We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af463b0 commit 1c946e0Copy full SHA for 1c946e0
services/api/src/owl/db/models/oss.py
@@ -1593,7 +1593,7 @@ def _search_query_filter(
1593
1594
class NotificationGroup(_TableBase, table=True):
1595
id: str = SqlField(
1596
- default_factory=lambda: uuid7_str("notif_"),
+ default_factory=uuid7_str,
1597
primary_key=True,
1598
description="Notification group ID.",
1599
)
services/api/tests/routers/test_notifications.py
@@ -68,7 +68,6 @@ def test_create_notification_group():
68
meta=config["meta"],
69
70
assert isinstance(g1, NotificationGroupRead)
71
- assert g1.id.startswith("notif_")
72
assert g1.scope == config["scope"]
73
assert g1.event_type == config["event_type"]
74
assert g1.meta == config["meta"]
0 commit comments