parameters: (self)
docstring: Init the Python API and Environment Manager for the function being
          lowered.
docstring_summary: Init the Python API and Environment Manager for the function being
          lowered.
docstring_tokens: Init the Python API and Environment Manager for the function being lowered .
function: def init_pyapi(self):
          """
          Init the Python API and Environment Manager for the function being
          lowered.
          """
          if self.pyapi is not None:
              return
          self.pyapi = self.context.get_python_api(self.builder)
  
          # Store environment argument for later use
          self.env_manager = self.context.get_env_manager(self.builder)
          self.env_body = self.env_manager.env_body
          self.envarg = self.env_manager.env_ptr
function_tokens: def init_pyapi ( self ) : if self . pyapi is not None : return self . pyapi = self . context . get_python_api ( self . builder ) # Store environment argument for later use self . env_manager = self . context . get_env_manager ( self . builder ) self . env_body = self . env_manager . env_body self . envarg = self . env_manager . env_ptr