lyndsiWilliams commented on a change in pull request #17223:
URL: https://github.com/apache/superset/pull/17223#discussion_r737959862
##########
File path: superset/reports/api.py
##########
@@ -386,6 +386,19 @@ def put(self, pk: int) -> Response:
return self.response_400(message=error.messages)
try:
new_model = UpdateReportScheduleCommand(g.user, pk, item).run()
+
+ if request.json.get("show_owners"):
+ owners = []
+ for o in new_model.owners:
+ owners.append(
+ {
+ "first_name": o.first_name,
+ "last_name": o.last_name,
+ "id": o.id,
+ }
+ )
+ item["owners"] = owners
Review comment:
Resolving since this change has been removed.
--
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]