示例#1
0
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
示例#2
0
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