ForeignKey is a function so the (...) need to be instead of the =, your line needs to be:
ForeignKey
(...)
=
parent_id = mapped_column(Integer, ForeignKey("account.id"))