You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is probably good that the payload always contains a few parameters (e.g., data_source_id, name, etc...), but what about all other potential (and useful) parameters? For example tags, etc, Using kwargs would be a great way to make your API much more general.
redash.create_query(1, "my query", "select 1 from table", "description", with_results=False, tags=["mytag"], options={} )
If you remove options (i would) that would be a breaking change, so that's probably your decision.
But all that would be very easy to add that to all create_XXX functions.
The text was updated successfully, but these errors were encountered:
For example, for
create_query
:It is probably good that the payload always contains a few parameters (e.g.,
data_source_id
,name
, etc...), but what about all other potential (and useful) parameters? For exampletags
, etc, Usingkwargs
would be a great way to make your API much more general.For example for
create_query
:Then you can use it with
If you remove
options
(i would) that would be a breaking change, so that's probably your decision.But all that would be very easy to add that to all
create_XXX
functions.The text was updated successfully, but these errors were encountered: