code: def from_aql(self, result):
          
          result_type = result.get('type')
          if result_type not in ('file', 'folder'):
              raise RuntimeError("Path object with type '{}' doesn't support. File or folder only".format(result_type))
  
          result_path = "{}/{repo}/{path}/{name}".format(self.drive, **result)
          obj = ArtifactoryPath(result_path, auth=self.auth, verify=self.verify, cert=self.cert, session=self.session)
          return obj
docs: Convert raw AQL result to pathlib object
          :param result: ONE raw result
          :return: