I try to execute the following code:
grass.run_command('v.distance', from='tramstop', to='iso_tram', upload='cat',column='first_tram_distance', overwrite=True)
but i get the "SyntaxError: invalid syntax" Error. I guess using 'from' is colliding with SQL, yet since it is required as an input parameter I have no idea how to work around the issue. Using "from" with quotation marks doesnt work, since "keyword can't be an expression".
I would be very happy if anyone knows how to fix this problem.