def _get_reporting_groups_expression(spec, context): wrapped = ReportingGroupsExpressionSpec.wrap(spec) wrapped.configure(user_id_expression=ExpressionFactory.from_spec( wrapped.user_id_expression, context)) return wrapped
def _get_reporting_groups_expression(spec, context): wrapped = ReportingGroupsExpressionSpec.wrap(spec) wrapped.configure( user_id_expression=ExpressionFactory.from_spec(wrapped.user_id_expression, context) ) return wrapped