I have written a scripting tool for first time using python where I am filtering the feature set of a feature layer by applying filters on the fields in the attribute table of a feature Layer Also, Providing a feature layer as a parameter and input field having datatype Value Table and to perform filtering on the Feature Layer I need to generate SQL expression for which I need the data Type of particular field .
Is this approach fine or should I implement it in any other way

