text: from . import Databricks
  
  class Libraries(Databricks.Databricks):
  	def __init__(self, url):
  		super().__init__()
  		self._url = url
  		self._api_type = 'libraries'
  
  	def allClusterStatuses(self, status):
  		endpoint = 'all-cluster-statuses'
  		url = self._set_url(self._url, self._api_type, endpoint)
  
  		payload = {
  			'statuses': status
  		}
  
  		return self._post(url, payload)
  
  	def clusterStatus(self, cluster_id):
  		endpoint = 'cluster-status'
  		url = self._set_url(self._url, self._api_type, endpoint)
  
  		payload = {
  			'cluster_id': cluster_id
  		}
  
  		return self._get(url, payload)
  
  	def installLibrary(self, cluster_id, libraries):
  		endpoint = 'install'
  
  		url = self._set_url(self._url, self._api_type, endpoint)
  
  		payload = {
  			'cluster_id': cluster_id,
  			'libraries': libraries
  		}
  
  		return self._post(url, payload)
  
  	def uninstallLibrary(self, cluster_id, libraries):
  		endpoint = 'uninstall'
  		url = self._set_url(self._url, self._api_type, endpoint)
  
  		payload = {
  			'cluster_id': cluster_id,
  			'libraries': libraries
  		}
  
  		return self._post(url, payload)
  