code: def charges(self, num, charge_id=None, **kwargs):
          
          baseuri = self._BASE_URI + "company/{}/charges".format(num)
          if charge_id is not None:
              baseuri += "/{}".format(charge_id)
              res = self.session.get(baseuri, params=kwargs)
          else:
              res = self.session.get(baseuri, params=kwargs)
          self.handle_http_error(res)
          return res
docs: Search for charges against a company by company number.
  
          Args:
            num (str): Company number to search on.
            transaction (Optional[str]): Filing record number.
            kwargs (dict): additional keywords passed into
            requests.session.get params keyword.