mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
@@ -1,4 +1,5 @@
|
||||
from strenum import StrEnum # In 3.11 this is in the enum library.
|
||||
from strenum import StrEnum # In 3.11 this is in the enum library. We will not need
|
||||
# this external library any more.
|
||||
|
||||
|
||||
class TemplateType(StrEnum):
|
||||
|
||||
@@ -1860,7 +1860,9 @@ class InvitedUser(db.Model):
|
||||
)
|
||||
permissions = db.Column(db.String, nullable=False)
|
||||
auth_type = enum_column(AuthType, index=True, nullable=False, default=AuthType.SMS)
|
||||
folder_permissions = db.Column(JSONB(none_as_null=True), nullable=False, default=list)
|
||||
folder_permissions = db.Column(
|
||||
JSONB(none_as_null=True), nullable=False, default=list
|
||||
)
|
||||
|
||||
# would like to have used properties for this but haven't found a way to make them
|
||||
# play nice with marshmallow yet
|
||||
|
||||
Reference in New Issue
Block a user