class_docstr: Prompt to generate Python code
code: def setup(self, **kwargs) -> None:
      self.set_var(
          "instructions", kwargs.pop("custom_instructions", "")
      )
  
      self.set_var(
          "current_code",
          kwargs.pop(
              "current_code", CurrentCodePrompt(dfs_declared=True)
          ),
      )
  
      self.set_var(
          "code_description",
          kwargs.pop("code_description", "Update this initial code:"),
      )
  
      self.set_var("last_message", kwargs.pop("last_message", ""))
  
      self.set_var(
          "prev_conversation", kwargs.pop("prev_conversation", "")
      )
  
file_path: pandas-ai/pandasai/prompts/generate_python_code.py
imports: from .file_based_prompt import FileBasedPrompt
label_desc: Use image node_id 1 for calling the GeneratePythonCodePrompt obj's underlying member method code with example usage: obj.setup() without return types