docstr: Sets the source type for this layer, that is the type of the
  layer data.
  
  The 'sourcetype' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['geojson', 'vector', 'raster', 'image']
  
  Returns
  -------
  Any
docstr_tok: ["Sets","the","source","type","for","this","layer",",","that","is","the","type","of","the","layer","data",".","The","'sourcetype","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'geojson","'",",","'vector","'",",","'raster","'",",","'image","'","]","Returns","--","--","--","-","Any"]
code: def sourcetype(self):
      """
      Sets the source type for this layer, that is the type of the
      layer data.
  
      The 'sourcetype' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['geojson', 'vector', 'raster', 'image']
  
      Returns
      -------
      Any
      """
      return self["sourcetype"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 27 for calling the Layer obj's underlying member method code with example usage: obj.sourcetype() and returns: self