I know what as keyword does in import statement, we use it to give an object a different name in the module's namespace. It can be its simplified name(like np for numpy) or completely different name that avoids clashes with other names present in the module.
But, I've seen many libraries that give the exact same name to the object like:
from package.module import FOO as FOOWhy? Is it different from: from package.module import FOO ?
couple of examples:
from .applications import FastAPI as FastAPIfrom .engine import AdaptedConnection as AdaptedConnectionand so many others.