betodealmeida commented on code in PR #29412:
URL: https://github.com/apache/superset/pull/29412#discussion_r1669510606


##########
superset/views/base_api.py:
##########
@@ -180,8 +180,19 @@ class BaseTagFilter(BaseFilter):  # pylint: 
disable=too-few-public-methods
     """ The Tag class_name to user """
     model: type[Dashboard | Slice | SqllabQuery | SqlaTable] = Dashboard
     """ The SQLAlchemy model """
+    id_based_filter = False

Review Comment:
   I think it would be cleaner to define a new `BaseTagIdFilter`, and rename 
this one to `BaseTagNameFilter`, to prevent the check in `apply`. 



-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to