579cbe480d4daa02e6846baab7c98ca83bd60a4f,polyaxon/query/parser.py,,parse_value_operation,#Any#,128

Before Change


        if len(params) <= 1:
            raise QueryParserException("`{}` is not allowed for value operations, "
                                       "Operation: {}".format(op, operation))
        return op, negation, params

    if not operation:
        raise QueryParserException("Expression is not valid, it must be formatted as "
                                   "name:operation, "

After Change


        if len(params) <= 1:
            raise QueryParserException("`{}` is not allowed for value operations, "
                                       "Operation: {}".format(op, operation))
        return QueryOpSpec(op, negation, params)

    if not operation:
        raise QueryParserException("Expression is not valid, it must be formatted as "
                                   "name:operation, "
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: polyaxon/polyaxon
Commit Name: 579cbe480d4daa02e6846baab7c98ca83bd60a4f
Time: 2018-06-16
Author: mouradmourafiq@gmail.com
File Name: polyaxon/query/parser.py
Class Name:
Method Name: parse_value_operation


Project Name: polyaxon/polyaxon
Commit Name: 579cbe480d4daa02e6846baab7c98ca83bd60a4f
Time: 2018-06-16
Author: mouradmourafiq@gmail.com
File Name: polyaxon/query/parser.py
Class Name:
Method Name: parse_datetime_operation


Project Name: polyaxon/polyaxon
Commit Name: 579cbe480d4daa02e6846baab7c98ca83bd60a4f
Time: 2018-06-16
Author: mouradmourafiq@gmail.com
File Name: polyaxon/query/parser.py
Class Name:
Method Name: parse_scalar_operation