korbit-ai[bot] commented on code in PR #32520:
URL: https://github.com/apache/superset/pull/32520#discussion_r1983721458
##########
superset/datasets/schemas.py:
##########
@@ -88,6 +88,18 @@ class DatasetMetricsPutSchema(Schema):
uuid = fields.UUID(allow_none=True)
+class FolderSchema(Schema):
+ uuid = fields.UUID()
+ type = fields.String(
+ required=False,
+ validate=OneOf(["metric", "column", "folder"]),
+ )
+ name = fields.String(required=True, validate=Length(1, 250))
+ description = fields.String(allow_none=True, validate=Length(0, 1000))
+ # folder can contain metrics, columns, and subfolders:
+ children = fields.List(fields.Nested(lambda: FolderSchema()),
allow_none=True)
Review Comment:
Thanks for your feedback! We will mute issues related to `Unbounded
Recursive Nesting` in the future. You can find all of your
mutes and policy changes in your admin dashboard.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]