I'm not sure why comment on schema is not working via sqlalchemy, but works perfectly on psql console,
Have tried various settings still no luck, schema gets created but cannot add description.
import sqlalchemy
engine = sqlalchemy.create_engine('postgresql://postgres@localhost/posgres')
engine.execute("CREATE SCHEMA IF NOT EXISTS myschema")
engine.execute("COMMENT ON SCHEMA myschema IS 'Seemly Random Description'")
checking with with psql
postgres=# \dn+
List of schemas
Name │ Owner │ Access privileges │ Description
──────────┼──────────┼──────────────────────┼────────────────────────
myschema │ postgres │ │
public │ postgres │ postgres=UC/postgres↵│ standard public schema
│ │ =UC/postgres │
(2 rows)