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 __base_url(self, mode="api"):
      port = (
          self.tiger_config["web_port"]
          if mode == "web"
          else self.tiger_config["api_port"]
      )
      who = (
          (
              self.tiger_config["user"]
              + ":"
              + self.tiger_config["pwd"]
              + "@"
          )
          if (
              not (self.tiger_config["user"] is None)
              and not (self.tiger_config["pwd"] is None)
          )
          else ""
      )
      return (
          self.tiger_config["protocol"]
          + "://"
          + who
          + self.tiger_config["server"]
          + ":"
          + str(port)
      )
  
file_path: pygraphistry/graphistry/tigeristry.py
imports: import requests
  import pandas
label_desc: Use image node_id 2 for calling the Tigeristry obj's underlying member method code with example usage: obj.__base_url(mode) and returns: unknown