To include the definitions of the module’s classes, use the following directive:

import PySide2.QtMultimedia