code: def type(self, type_name):
      self.__setattr__(TYPE_IDENTIFIER, type_name)
  
file_path: deck.gl/bindings/pydeck/pydeck/bindings/layer.py
imports: import uuid
  import numpy
  from ..data_utils import is_pandas_df, has_geo_interface, records_from_geo_interface
  from .json_tools import JSONMixin, camel_and_lower
  from ..settings import settings
  from pydeck.types import Image, Function
  from pydeck.exceptions import BinaryTransportException
label_desc: Use image node_id 7 for calling the Layer obj's underlying member method code with example usage: obj.type(type_name) without return types