On Thu, May 20, 2010 at 8:09 PM, Michael Bayer mike...@zzzcomputing.com wrote:
On May 20, 2010, at 5:51 PM, Yang Zhang wrote:
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
On May 21, 2010, at 2:11 AM, Yang Zhang wrote:
It would be nice if this restriction could be lifted if explicitly
requested somehow (__use_pk__ = False, and have those operations raise
run-time exceptions if attempted). (As for why I'm using the ORM, it's
basically because it affords many
On May 21, 2010, at 9:12 AM, Michael Bayer wrote:
On May 21, 2010, at 2:11 AM, Yang Zhang wrote:
It would be nice if this restriction could be lifted if explicitly
requested somehow (__use_pk__ = False, and have those operations raise
run-time exceptions if attempted). (As for why I'm
On May 21, 2010, at 9:21 AM, Michael Bayer wrote:
On May 21, 2010, at 9:12 AM, Michael Bayer wrote:
On May 21, 2010, at 2:11 AM, Yang Zhang wrote:
It would be nice if this restriction could be lifted if explicitly
requested somehow (__use_pk__ = False, and have those operations
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__ =
On May 20, 2010, at 5:51 PM, Yang Zhang wrote:
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'