0

I have a lot of import statements at the start of my main entry point for my fastapi application (around 50 imports). I am looking to clean up the code if possible. Can I put them all in their own script something like importedlibraries.py and then reference my main application with from importedlibraries import *?

Is there a recommended way to deal with this scenario?

RnRoger
  • 682
  • 1
  • 9
  • 33

0 Answers0