0👍
I have two relationships Author-> Book
and Book -> Author
, but to import both class I have circular import error to define the relationship class type.
I solved using the absolute path to models as reference, do not import AuthorModel.
class BookModel(StructuredNode):
title = StringProperty(unique_index=True)
author = RelationshipTo('models.author.AuthorModel', 'AUTHOR')
Source:stackexchange.com