How to use multiple map values in ffmpeg-python?

How can I use multiple map values for different resolutions in ffmpeg-python?

    -map [v1out] -c:v:0 libx264 -b:v:0 1900k -bufsize 3800k 
    -map [v2out] -c:v:1 libx264 -b:v:0 900k -bufsize 1800k 

Answer

you can give multiple map values in ffmpeg-python like:

ffmpeg.input('in.mp4').output(
...
map = [
    "[v1out] -c:v:0 libx264 -b:v:0 1900k -bufsize 3800k",
    "[v2out] -c:v:1 libx264 -b:v:0 900k -bufsize 1800k"
  ]
)