Session.get_grouping_column#

from tmlt.analytics import Session
Session.get_grouping_column(source_id)#

Returns an optional column that must be grouped by in this query.

When a groupby aggregation is appended to any query on this table, it must include this column as a groupby column.

Parameters:

source_id (str) – The ID for the data source whose grouping column is being retrieved.

Return type:

Optional[str]