etr2460 commented on a change in pull request #11244:
URL:
https://github.com/apache/incubator-superset/pull/11244#discussion_r503589206
##########
File path: superset/config.py
##########
@@ -628,11 +627,11 @@ class CeleryConfig: # pylint:
disable=too-few-public-methods
# db configuration and a result of this function.
# mypy doesn't catch that if case ensures list content being always str
-ALLOWED_USER_CSV_SCHEMA_FUNC: Callable[
- ["Database", "models.User"], List[str]
-] = lambda database, user: [
- UPLOADED_CSV_HIVE_NAMESPACE
-] if UPLOADED_CSV_HIVE_NAMESPACE else []
+ALLOWED_USER_CSV_SCHEMA_FUNC: Callable[["Database", "models.User"], List[str]]
= (
Review comment:
i guess black likes this formatting better 🤷
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]