How do I create an ORM type with no primary key columns? For some reason I'm getting:
sqlalchemy.exc.ArgumentError: Mapper Mapper|ActorActivity|actor_activities could not assemble any primary key columns for mapped table 'actor_activities' for: class ActorActivity(Base): __tablename__ = 'actor_activities' actor_id = Column(UUID, ForeignKey(Actor.id), nullable = False) t = Column(SmallInteger, nullable = False) ts = Column(TIMESTAMP, nullable = False) a = Column(UUID, ForeignKey(A.id)) b = Column(UUID, ForeignKey(B.id)) n = Column(SmallInteger) x = Column(SmallInteger) Thanks for any hints. -- Yang Zhang http://yz.mit.edu/ -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
