t.r.BelongsTo(Relationship) : class documentation

Part of twistar.relationships View In Hierarchy

Class representing a belongs-to relationship.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
62 Method get Get the object that belong to the caller.
80 Method set Set the object that belongs to the caller.
92 Method clear Remove the relationship linking the object that belongs to the caller.

Inherited from Relationship:

Line # Kind Name Docs
21 Method __init__ Constructor.
Line # Kind Name Docs
21 Method __init__ Constructor.
92 Method clear Remove the relationship linking the object that belongs to the caller.
62 Method get Get the object that belong to the caller.
80 Method set Set the object that belongs to the caller.
def get(self):
Get the object that belong to the caller.
ReturnsA Deferred with a callback value of either the matching class or None (if not set).
def set(self, other):
Set the object that belongs to the caller.
ReturnsA Deferred with a callback value of the caller.
def clear(self):
Remove the relationship linking the object that belongs to the caller.
ReturnsA Deferred with a callback value of the caller.
API Documentation for twistar, generated by pydoctor at 2012-06-12 10:00:49.