WHilst programming in Python i have come across this error about needing 2 arguments and only having one.
TypeError: __init__() takes exactly 2 arguments (1 give
Your NPCHandler class requires an argument (npcId), but when you create a new object inside GetNPCHandler, you are passing no arguments.
NPCHandler
npcId
GetNPCHandler
The reason the error message says you are passing one argument is that self is passed implicitly. You need to also pass the second argument (npcId).
self