betodealmeida commented on code in PR #30266: URL: https://github.com/apache/superset/pull/30266#discussion_r1758998848
########## superset/config.py: ########## @@ -1142,16 +1143,18 @@ def CSV_TO_HIVE_UPLOAD_DIRECTORY_FUNC( # pylint: disable=invalid-name # uploading CSVs will be stored. UPLOADED_CSV_HIVE_NAMESPACE: str | None = None + # Function that computes the allowed schemas for the CSV uploads. # Allowed schemas will be a union of schemas_allowed_for_file_upload # db configuration and a result of this function. +def allowed_schemas_for_csv_upload( # pylint: disable=unused-argument Review Comment: I rewrote this as a function since it's easier to read and removes the lambda complaint from the linter. -- 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]
