vendredi 12 mars 2021

How is this Python design pattern called?

In the ffmpeg-python docs, they used following design pattern for their examples:

(
    ffmpeg
    .input('dummy.mp4')
    .filter('fps', fps=25, round='up')
    .output('dummy2.mp4')
    .run()
)

How is this design pattern called, where can I find more information about it, and what are the pros and cons of it ?

Aucun commentaire:

Enregistrer un commentaire