Forum Discussion

ntepe's avatar
ntepe
Occasional Visitor
20 days ago

parsing csv columns in enum on json file from flask-python

i have this code in python. 

as you can see this function returns sensitive_data (column names, column data) and also returns only (columns names). this columns are sensitive columns of an imported csv. I want to parse those sensitive columns in swagger ui json file in enum section i guess (or whatever). i want to parse them to enum because i want the user to select the column he wants from a dropdown menu the column he prefers. how is this possible? can you provide me a possible json code for this? i use swagger 2.0. thanks. in advance

No RepliesBe the first to reply