rusackas commented on code in PR #40655:
URL: https://github.com/apache/superset/pull/40655#discussion_r3347397100


##########
superset/commands/temporary_cache/create.py:
##########
@@ -32,6 +32,7 @@ def __init__(self, cmd_params: CommandParameters):
 
     @transaction(on_error=partial(on_error, 
reraise=TemporaryCacheCreateFailedError))
     def run(self) -> str:
+        self.validate()

Review Comment:
   Good call — I went ahead and aligned the siblings in this PR rather than 
deferring. `self.validate()` is now called in both 
`DeleteTemporaryCacheCommand` and `UpdateTemporaryCacheCommand`, matching 
`CreateTemporaryCacheCommand` and the BaseCommand contract.



-- 
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]

Reply via email to