Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Does it have to be a path parameter? Could you achieve the same result using a query parameter with a sensible default? e.g. /table1?master=1&db=1. Also, I would suggest setting up all your database engines, and configuring SQLAlchemy to return you a session rather than creating a new engine on each request docs Commented May 1, 2024 at 2:18
  • I figured out something pretty cool, I'll post the answer later, but I did end up doing the latter part of your comment, thanks PGHE Commented May 1, 2024 at 17:13