docstr: If `levels`, the data is represented as a contour plot with
  multiple levels displayed. If `constraint`, the data is
  represented as constraints with the invalid region shaded as
  specified by the `operation` and `value` parameters.
  
  The 'type' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['levels', 'constraint']
  
  Returns
  -------
  Any
docstr_tok: ["If","`","levels","`",",","the","data","is","represented","as","a","contour","plot","with","multiple","levels","displayed",".","If","`","constraint","`",",","the","data","is","represented","as","constraints","with","the","invalid","region","shaded","as","specified","by","the","`","operation","`","and","`","value","`","parameters",".","The","'type","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'levels","'",",","'constraint","'","]","Returns","--","--","--","-","Any"]
code: def type(self):
      """
      If `levels`, the data is represented as a contour plot with
      multiple levels displayed. If `constraint`, the data is
      represented as constraints with the invalid region shaded as
      specified by the `operation` and `value` parameters.
  
      The 'type' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['levels', 'constraint']
  
      Returns
      -------
      Any
      """
      return self["type"]
  
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 19 for calling the Contours obj's underlying member method code with example usage: obj.type() and returns: self