Ejemplo n.º 1
0
  def getInfo(self):
    """Fetch and return information about this object.

    Returns:
      The object can evaluate to anything.
    """
    return data.getValue({'json': self.serialize()})
Ejemplo n.º 2
0
    def getInfo(self):
        """Fetch and return information about this object.

    Returns:
      The object can evaluate to anything.
    """
        return data.getValue({'json': self.serialize()})
Ejemplo n.º 3
0
  def getInfo(self):
    """Fetch and return information about this image.

    Returns:
      The return contents vary but will include at least:
          bands - Array containing metadata about the bands in the image,
          properties - Dictionary containing the image's metadata properties.
    """
    return data.getValue({
        'json': self.serialize(False)
        })
Ejemplo n.º 4
0
  def getInfo(self):
    """Returns all the known information about this collection.

    This function makes an REST call to to retrieve all the known information
    about this collection.

    Returns:
      The return contents vary but will include at least:
           features: an array containing metadata about the items in the
                      collection that passed all filters.
           properties: a dictionary containing the collection's metadata
                        properties.
    """
    return data.getValue({'json': self.serialize(False)})
Ejemplo n.º 5
0
 def BoundFunction(*argsIn, **namedArgsIn):
   """A generated aggregation function for the given signature."""
   description = func(*argsIn, **namedArgsIn)
   return data.getValue({'json': serializer.toJSON(description, False)})