Anno 2021 I'd never choose a lang+FW that does not bring strong types, and type safety over several system barriers.
Like using Kotlin+jOOQ for the backend. Or use no backend at all and use Hasura with a generated client lib in Elm. Or Rust with Yew.
I know these are not as much used as Django/Rails/Express/Spring+Hibernate, but I'm just not ready to walk into the no-type-safety swamp again out of my free will.
What about SQLAlchemy?
IMO, it also doesn't make sense for simpler cases where nearly everything can run in a browser.
A. python with type hints
and
B. Typescript, or a statically typed language such as Rust/Java
? I'm guessing not.
With microframeworks it's easier as you can structure your project as you like add more layers of abstraction so it's not that tightly coupled. Fe. sqlalchemy -> pydantic schema.