i am making a qgis plugin and want to highlight a feature from feature id but the feature id must be taken from the textbox my code is below but this shows error like cLayer.setSelectedFeatures(me) TypeError: expected string or buffer
inputid = self.dlg.lineEdit.text()
cLayer = self.iface.mapCanvas().currentLayer()
query = '"ID" = {''}'.format(inputid)
selection = cLayer.getFeatures(QgsFeatureRequest().setFilterExpression(query))
me = [k.id() for k in selection]
cLayer.setSelectedFeatures(me)