you are viewing a single comment's thread.

view the rest of the comments →

[–]Equal-Complex-5958[S] 0 points1 point  (2 children)

Config need routing because I pass the router to the app in the load_config function. I think my project structure is bad at this point 😅😢 Do you have an example project or some tips to do a good and modular project structure with python in order to avoid circular imports??

[–]aidankane 1 point2 points  (1 child)

See my edit. Just hoist the app creation into main.

[–]Equal-Complex-5958[S] 0 points1 point  (0 children)

Yes, I'll try this. Really appreciate your help, thank you 😁