class_docstr: Internal proxy to the official internal API.
class_docstr_tok: ["Internal","proxy","to","the","official","internal","API","."]
docstr: Use for serializing.
  
  self._api is not serializable, so it's dropped
docstr_tok: ["Use","for","serializing",".","self._api","is","not","serializable",",","so","it","'s","dropped"]
code: def __getstate__(self):
      """Use for serializing.
  
      self._api is not serializable, so it's dropped
      """
      state = self.__dict__.copy()
      del state["_api"]
      return state
  
imports: from typing import Any
  from wandb.sdk.internal.internal_api import Api
label_desc: Use image node_id 2 for calling the Api obj's underlying member method code with example usage: obj.__getstate__() and returns: state