I'm struggling to define a SQLAlchemy column for a postgres string array using the new declarative mapping pattern in 2.0.
I would expect something like this to work: *my_col: Mapped[list[str]] = mapped_column()* However, this throws with: *sqlalchemy.exc.ArgumentError: Could not locate SQLAlchemy Core type for Python type list[str] inside the 'my_col' attribute Mapped annotation* Any ideas? -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/3b0e17b9-15cc-43b8-9c3c-e3ce73c71c85n%40googlegroups.com.