If I have a class...
class MyClass: def method(arg): print(arg)
...which I use to create an object...
my_objec
In my case, I forgot to add the ()
()
I was calling the method like this
obj = className.myMethod
But it should be is like this
obj = className.myMethod()