class ExamplePlayer (Player):
...
def __init__ (self, *args, **kwargs):
"""
This function is the constructor of the class.
When an object is instantiated, this method is called to initialize the object.
This is where you should define the attributes of the object and set their initial values.
Arguments *args and **kwargs are used to pass arguments to the parent constructor.
This is useful not to declare again all the parent's attributes in the child class.
In:
* self: Reference to the current object.
* args: Arguments to pass to the parent constructor.
* kwargs: Keyword arguments to pass to the parent constructor.
Out:
* A new instance of the class.
"""
# Inherit from parent class
super().__init__(*args, **kwargs)
# Here, you can initialize attributes, e.g.,
self.preprocessing_results = None