I'm using SQLAlchemy and sqlacodegen to generate ORM classes for my PostgreSQL models. But to my surprise, tables ending with letter "s" are causing issue.
For example, I have a table as below
employee_status
and the ORM class generated for this table is as below
Class EmployeeStatu(Base):
__tablename__ = "employee_status"
col1 = Column(String(32))
Why is the ending letter "s" missing in class name when it is present in table name?