class_docstr: Base class for Rasterio dataset profiles.
  
  Subclasses will declare driver-specific creation options.
docstr: Like normal item setter but forbidding affine item.
docstr_tok: ["Like","normal","item","setter","but","forbidding","affine","item","."]
code: def __setitem__(self, key, val):
      """Like normal item setter but forbidding affine item."""
      if key == "affine":
          raise TypeError("affine key is prohibited")
      self.data[key] = val
  
file_path: rasterio/rasterio/profiles.py
imports: from collections import UserDict
  from rasterio.dtypes import uint8
label_desc: Use image node_id 3 for calling the Profile obj's underlying member method code with example usage: obj.__setitem__(key, val) without return types