@_coerce_exceptions
  def get_namespace_quota(self, path):
    path = encode_fs_path(path)
    file_count_quota = self.nn_client.getContentSummary(self.request_context, normpath(path)).quota
    if file_count_quota == QUOTA_RESET or file_count_quota == QUOTA_DONT_SET:
      return None
    else:
      return file_count_quota
Get the current quota in number of files. None if it is unset
dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py/HadoopFileSystem.get_namespace_quota