There is probably a typo in the get_fps function and 'self' is not submitted as an input
TypeError: get_fps() takes 0 positional arguments but 1 was given
In [73]: camera.get_fps()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Input In [73], in <module>
----> 1 camera.get_fps()
TypeError: get_fps() takes 0 positional arguments but 1 was given
There is probably a typo in the get_fps function and 'self' is not submitted as an input
TypeError: get_fps() takes 0 positional arguments but 1 was given