class_docstr: The Parsr client class with all the necessary functions to connect to,
  send and receive data to/from the Parsr server using the API.
class_docstr_tok: ["The","Parsr","client","class","with","all","the","necessary","functions","to","connect","to",",","send","and","receive","data","to\/from","the","Parsr","server","using","the","API","."]
docstr: Constructor for the class.
  
  - server: The address of the server. For example: 'localhost:3001'
  - revision_history: The revision history of a client, if a previous
  state is to be restored.
docstr_tok: ["Constructor","for","the","class",".","-","server",":","The","address","of","the","server",".","For","example",":","'localhost:3001'","-","revision_history",":","The","revision","history","of","a","client",",","if","a","previous","state","is","to","be","restored","."]
code: def __init__(self, server: str, revision_history: dict = {}):
      """Constructor for the class.
  
      - server: The address of the server. For example: 'localhost:3001'
      - revision_history: The revision history of a client, if a previous
      state is to be restored.
      """
      self.set_server(server)
      self.set_revision_history(revision_history)
      self.set_current_request_id("")
  
imports: from glob import glob
  from itertools import chain
  from io import StringIO
  from os import path
  from os import chdir
  from json import loads
  from time import sleep
  from ast import literal_eval
  from pandas import read_csv
  from pandas import notnull
  from requests import post
  from requests import get
  from semver import VersionInfo
  import diff_match_patch
  from sxsdiff import DiffCalculator
  from sxsdiff.generators.github import GitHubStyledGenerator
label_desc: Use image node_id 1 to create a new ParsrClient object  with example: obj = ParsrClient(server, revision_history)