def interface_direct_csvpath(csvpath):
with open(csvpath) as csvfile:<EOL><INDENT>reader = csv.DictReader(csvfile)<EOL>for row in reader:<EOL><INDENT>data_class = row.pop('<STR_LIT>', '<STR_LIT>')<EOL>return interface_direct_class(data_class)<EOL><DEDENT><DEDENT>
help to direct to the correct interface interacting with DB by csvfile path