AAfghahi commented on code in PR #20149:
URL: https://github.com/apache/superset/pull/20149#discussion_r891358537


##########
superset/explore/form_data/commands/update.py:
##########
@@ -75,7 +76,7 @@ def run(self) -> Optional[str]:
                 new_state: TemporaryExploreState = {
                     "owner": owner,
                     "datasource_id": datasource_id,
-                    "datasource_type": datasource_type,
+                    "datasource_type": DatasourceType(datasource_type),

Review Comment:
   No I am referring to this: 
https://github.com/apache/superset/pull/20149/files/b678a8ba981f7687c17bc68b4f529209bde2d961#diff-6029cd3077bd4123d18311935a0fef83a580ccf22f4a98b6085ed780fd7257e9R27
   
   THis one has `DatasourceType(datasource_type)` the version above has 
`DatasourceType`



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