dpgaspar commented on a change in pull request #10824:
URL:
https://github.com/apache/incubator-superset/pull/10824#discussion_r486164081
##########
File path: superset/databases/schemas.py
##########
@@ -298,7 +298,9 @@ class DatabaseTestConnectionSchema(Schema):
impersonate_user = fields.Boolean(description=impersonate_user_description)
extra = fields.String(description=extra_description,
validate=extra_validator)
encrypted_extra = fields.String(
- description=encrypted_extra_description,
validate=encrypted_extra_validator
+ description=encrypted_extra_description,
+ validate=encrypted_extra_validator,
+ allow_none=True,
)
server_cert = fields.String(
description=server_cert_description, validate=server_cert_validator
Review comment:
You probably need `allow_none=True` for server_cert also
----------------------------------------------------------------
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]