def get_ds_uncommitted(datastore):
    """
        Get vsphere datastore uncommitted size
    :param datastore: vsphere datastore object
    :return: datastore uncommitted size
    """
    uncommitted_size = datastore.summary.uncommitted
    return uncommitted_size