示例#1
0
def _property_name_expression(spec, context):
    expression = PropertyNameGetterSpec.wrap(spec)
    expression.configure(
        ExpressionFactory.from_spec(expression.property_name, context=context))
    return expression
示例#2
0
def _property_name_expression(spec, context):
    expression = PropertyNameGetterSpec.wrap(spec)
    expression.configure(
        ExpressionFactory.from_spec(expression.property_name, context=context)
    )
    return expression