dankor commented on PR #29573:
URL: https://github.com/apache/superset/pull/29573#issuecomment-2256702008
Hi @rusackas ! Thanks! I fixed the linting.
@michael-s-molina Fair point. Actually, I have added this fields in order to
`q` them:
```json
{
"columns": [
"always_filter_main_dttm",
"cache_timeout",
"catalog",
"columns.advanced_data_type",
"columns.column_name",
"columns.description",
"columns.expression",
"columns.extra",
"columns.filterable",
"columns.groupby",
"columns.is_active",
"columns.is_dttm",
"columns.python_date_format",
"columns.type",
"columns.verbose_name",
"default_endpoint",
"description",
"extra",
"fetch_values_predicate",
"filter_select_enabled",
"is_managed_externally",
"is_sqllab_view",
"main_dttm_col",
"metrics.d3format",
"metrics.description",
"metrics.expression",
"metrics.extra",
"metrics.metric_name",
"metrics.metric_type",
"metrics.verbose_name",
"metrics.warning_text",
"normalize_columns",
"offset",
"schema",
"sql",
"table_name",
"template_params",
"uuid",
"database.uuid"
],
"filters": [
{
"col": "uuid",
"opr": "eq",
"value": "7d2a123a-1952-46e1-b9d0-4d41e1e042c1"
}
]
}
```
Otherwise this fields won't be listed with `q`.
Do you suppose to keep `list_columns` unchanged and perform two requests
instead?
- Run `list_columns` with uuid filter and get id.
- Run `show_select_columns` against obtained id with all required fields.
I'd tend to have one request if possible, but I assume the front-end changes
may be too big, right?
--
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]