-The "Optional" is not imported in io.py file.
-we know that "Optional" is indirectly imported by "from models.responses import *" ,this code line.
-But it is not safe practice to do that.
-In future if response.py if changed, by mistakely removing "Optional" import it will crash.