(context)
return depends_on
Returns the waiterDependsOn property or an empty list if unspecified.
Returns the waiterDependsOn property or an empty list if unspecified.
Returns the waiterDependsOn property or an empty list if unspecified .
def _WaiterDependsOn(context):
  """Returns the waiterDependsOn property or an empty list if unspecified."""
  depends_on = context.properties.get('waiterDependsOn', [])
  if not isinstance(depends_on, list):
    raise PropertyError('waiterDependsOn must be a list: {}'.format(depends_on))

  for item in depends_on:
    if not isinstance(item, types.StringTypes):
      raise PropertyError(
          'waiterDependsOn must be a list of strings: {}'.format(depends_on))

  return depends_on
def _WaiterDependsOn ( context ) : depends_on = context . properties . get ( 'waiterDependsOn' , [ ] ) if not isinstance ( depends_on , list ) : raise PropertyError ( 'waiterDependsOn must be a list: {}' . format ( depends_on ) ) for item in depends_on : if not isinstance ( item , types . StringTypes ) : raise PropertyError ( 'waiterDependsOn must be a list of strings: {}' . format ( depends_on ) ) return depends_on