class_docstr: Tigergraph bindings class
  
  * Initialize with DB cfg
  * Register named stored procedures and graphistry bindings
  * Call stored procedures
  * Call interpreted queries
class_docstr_tok: ["Tigergraph","bindings","class","*","Initialize","with","DB","cfg","*","Register","named","stored","procedures","and","graphistry","bindings","*","Call","stored","procedures","*","Call","interpreted","queries"]
code: def __gsql_endpoint(
      self, method_name, args={}, db=None, dry_run=False
  ):
      db = self.tiger_config["db"] if db is None else db
      if db is None:
          raise Exception(
              "Must specify db in Tigeristry constructor or .__call()"
          )
  
      base_url = self.__base_url("api")
      url = base_url + "/query/" + db + "/" + method_name
      if len(args.items()) > 0:
          url = (
              url
              + "?"
              + "&".join(
                  [str(k) + "=" + str(v) for k, v in args.items()]
              )
          )
      self.__log(url)
  
      if dry_run:
          return url
  
      resp = requests.get(url)
      self.__log(resp)
      json = resp.json()
  
      return self.__verify_and_unwrap_json_result(json)
  
file_path: pygraphistry/graphistry/tigeristry.py
imports: import requests
  import pandas
label_desc: Use image node_id 6 for calling the Tigeristry obj's underlying member method code with example usage: obj.__gsql_endpoint(method_name, args, db, dry_run) and returns: self, url