Skip to content

Commit a69e488

Browse files
committed
updated comment on database export params
1 parent aed705b commit a69e488

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/superset/database/export.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ def exported_zip_path
5151
private
5252

5353
def params
54-
{ "q": "!(#{database_id})" } # pulled off chrome dev tools doing a GUI export. Swagger interface not helpfull with this endpoint.
54+
# The Swagger API interface indicates this endpoint should take an array of integers
55+
# however this does not work within the Swagger interface or when testing the API
56+
# Investigating the Superset GUI with Dev Tools shows that the format below is used
57+
58+
{ "q": "!(#{database_id})" }
5559
end
5660

5761
def save_exported_zip_file

0 commit comments

Comments
 (0)