primary_key type now can be str or tuple.

in favor of sqlalchemy's primary_key definition style