Skip to content

Commit

Permalink
coerce empty string to none
Browse files Browse the repository at this point in the history
  • Loading branch information
cemremengu committed Feb 22, 2023
1 parent 871cab8 commit 750ee48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/databases/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def schemas(self, pk: int, **kwargs: Any) -> FlaskResponse:
try:
schemas = database.get_all_schema_names(
cache=database.schema_cache_enabled,
cache_timeout=database.schema_cache_timeout,
cache_timeout=database.schema_cache_timeout or None,
force=kwargs["rison"].get("force", False),
)
schemas = security_manager.get_schemas_accessible_by_user(database, schemas)
Expand Down

0 comments on commit 750ee48

Please sign in to comment.