src/marshmallow_sqlalchemy/fields.py
def get_primary_keys(model):
    """Get primary key properties for a SQLAlchemy model.

    :param model: SQLAlchemy model class
    """
    mapper = model.__mapper__
    return [mapper.get_property_by_column(column) for column in mapper.primary_key]
def get_primary_keys(model):
    mapper = model.__mapper__
    return [mapper.get_property_by_column(column) for column in mapper.primary_key]
def get_primary_keys ( model ) : mapper = model . __mapper__ return [ mapper . get_property_by_column ( column ) for column in mapper . primary_key ]
Get primary key properties for a SQLAlchemy model.

    :param model: SQLAlchemy model class
Get primary key properties for a SQLAlchemy model .