Map: dict[str, object] = {
"image" : Image.generate,
"video" : Video.generate,
}
Here, generate(json) is a function in both cases. However I'm getting a typehint error that "object" not callable mypy(error). What should be the appropriate type instead of object for the Map?