class TestBuilder(object): next = One('prev') prev = One('next') def __init__(self, name, other=None): self.name = name self.other = other def __str__(self): return self.name
class Test(object): other = One('other') def __init__(self, name): self.name = name def __str__(self): return self.name
class EndPoint(object): prev = One('next')
class StartPoint(object): next = One('prev')
class TestOneMany(object): parent = One('children') children = ManyMap('parent') def __init__(self, name): self.name = name
class TestMany(object): one = One('one', install=True) def __init__(self, name): self.name = name
class TestOne(object): next = One() def __init__(self, name): self.name = name
class TestOne(object): next = One('prev') prev = One('next') def __init__(self, name): self.name = name
class TestOneOne(object): left = One('right') right = One('left') def __init__(self, name): self.name = name
class Chained(object): next = One('prev') prev = One('next')