|
@@ -41,7 +41,7 @@ class ProjectSchema(NameSlugProjectSchema, ModelSchema):
|
|
DSN keys, be connected to exactly one organization, and provide user permissions
|
|
DSN keys, be connected to exactly one organization, and provide user permissions
|
|
through teams.
|
|
through teams.
|
|
"""
|
|
"""
|
|
-
|
|
|
|
|
|
+ id: str
|
|
avatar: dict[str, Optional[str]] = {"avatarType": "", "avatarUuid": None}
|
|
avatar: dict[str, Optional[str]] = {"avatarType": "", "avatarUuid": None}
|
|
color: str = ""
|
|
color: str = ""
|
|
features: list = []
|
|
features: list = []
|
|
@@ -66,6 +66,11 @@ class ProjectSchema(NameSlugProjectSchema, ModelSchema):
|
|
"event_throttle_rate", # Not in Sentry OSS
|
|
"event_throttle_rate", # Not in Sentry OSS
|
|
]
|
|
]
|
|
|
|
|
|
|
|
+ @staticmethod
|
|
|
|
+ def resolve_id(obj):
|
|
|
|
+ return str(obj.id)
|
|
|
|
+
|
|
|
|
+
|
|
class Config(CamelSchema.Config):
|
|
class Config(CamelSchema.Config):
|
|
pass
|
|
pass
|
|
|
|
|