original_docstring: 
  		Removes any drinks that can't be handled by the pump configuration
  		
docstring: Removes any drinks that can't be handled by the pump configuration
docstring_tokens: Removes any drinks that can ' t be handled by the pump configuration
code: def filterDrinks(self, menu):
          """
  		Removes any drinks that can't be handled by the pump configuration
  		"""
          for i in menu.options:
              if (i.type == "drink"):
                  i.visible = False
                  ingredients = i.attributes["ingredients"]
                  presentIng = 0
                  for ing in ingredients.keys():
                      for p in self.pump_configuration.keys():
                          if (ing == self.pump_configuration[p]["value"]):
                              presentIng += 1
                  if (presentIng == len(ingredients.keys())):
                      i.visible = True
              elif (i.type == "menu"):
                  self.filterDrinks(i)
code_tokens: def filterDrinks ( self , menu ) : for i in menu . options : if ( i . type == "drink" ) : i . visible = False ingredients = i . attributes [ "ingredients" ] presentIng = 0 for ing in ingredients . keys ( ) : for p in self . pump_configuration . keys ( ) : if ( ing == self . pump_configuration [ p ] [ "value" ] ) : presentIng += 1 if ( presentIng == len ( ingredients . keys ( ) ) ) : i . visible = True elif ( i . type == "menu" ) : self . filterDrinks ( i )
short_docstring: Removes any drinks that can't be handled by the pump configuration
short_docstring_tokens: Removes any drinks that can ' t be handled by the pump configuration
comment: """
  		Removes any drinks that can't be handled by the pump configuration
  		"""