class_docstr: Class that enforces safety by ensuring that keys are sanitized.
class_docstr_tok: ["Class","that","enforces","safety","by","ensuring","that","keys","are","sanitized","."]
code: def __init__(self, key: str):
      self._key: str = _sanitize_key(key)
  
file_path: generative-ai-python/google/generativeai/notebook/sheets_id.py
imports: from __future__ import annotations
  import re
  from google.generativeai.notebook import sheets_sanitize_url
label_desc: Use image node_id 1 to create a new SheetsKey object  with example: obj = SheetsKey(key)