Function
zope.app.keyreference.persistent.connectionOfPersistent

Signature

connectionOfPersistent(ob)

Documentation String

An adapter which gets a ZODB connection of a persistent object.

We are assuming the object has a parent if it has been created in this transaction.

Raises ValueError if it is impossible to get a connection.

Attributes