(self, chip_dict)
Configure the term chip from a dictionary.
Configure the term chip from a dictionary.
Configure the term chip from a dictionary .
def from_dict(self, chip_dict):
        """Configure the term chip from a dictionary."""
        chip_value = chip_dict.get('value')
        if not chip_value:
            return

        self.field = chip_dict.get('field')
        self.query = chip_value
def from_dict ( self , chip_dict ) : chip_value = chip_dict . get ( 'value' ) if not chip_value : return self . field = chip_dict . get ( 'field' ) self . query = chip_value