def create_pipeline(self, name, description, **kwargs):
		'''Creates a pipeline with the provided attributes.
		Args:
			name	required name string
			kwargs	{name, description, orgWide, aclEntries} user 
			specifiable ones only
			return	(status code, pipeline_dict) (as created)
		'''
		#req sanity check
		if not (name and description):
			return requests.codes.bad_request, None

		kwargs.update({'name':name, 'description':description})

		new_pl = StreakPipeline(**kwargs)
		uri = '/'.join([
						self.api_uri,
						self.pipelines_suffix
						])
		code, r_data = self._req('put', uri, new_pl.to_dict())
		
		return code, r_data
def create_pipeline ( self , name , description , ** kwargs ) : if not ( name and description ) : return requests . codes . bad_request , None kwargs . update ( { 'name' : name , 'description' : description } ) new_pl = StreakPipeline ( ** kwargs ) uri = '/' . join ( [ self . api_uri , self . pipelines_suffix ] ) code , r_data = self . _req ( 'put' , uri , new_pl . to_dict ( ) ) return code , r_data
Creates a pipeline with the provided attributes.
		Args:
			name	required name string
			kwargs	{name, description, orgWide, aclEntries} user 
			specifiable ones only
			return	(status code, pipeline_dict) (as created)