def get_ref(name, prop='selfLink'):
    ' Creates reference to a property of a given resource. '
    return '$(ref.{}.{})'.format(name, prop)
Creates reference to a property of a given resource.
def get_ref(name, prop='selfLink'):
    '  '
    return '$(ref.{}.{})'.format(name, prop)