Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

Self referential properties cause infinite recursion #94

Open
devraj opened this issue Oct 2, 2015 · 0 comments
Open

Self referential properties cause infinite recursion #94

devraj opened this issue Oct 2, 2015 · 0 comments
Assignees
Labels

Comments

@devraj
Copy link
Member

devraj commented Oct 2, 2015

class ProtocolDocumentArea(types.Model):

    protocol_document_area_id = types.Integer()
    standard_edition_id = types.Integer()

    area_name = types.String(max_length=255)
    area_number = types.Integer()

    created_date = types.DateTime()
    last_updated_date = types.DateTime()

#: Defines a self referencial relationship
ProtocolDocumentArea.sub_areas = types.Array(element_template=ProtocolDocumentArea())
@devraj devraj self-assigned this Oct 2, 2015
@devraj devraj added this to the 2.0.12 milestone Oct 2, 2015
@devraj devraj added the bug label Oct 2, 2015
@BradMclain BradMclain modified the milestones: 2.0.12, 2.0.13, 2.0.14, 2.0.15 Apr 6, 2016
@BradMclain BradMclain modified the milestones: 2.0.15, 2.0.16 Jun 1, 2016
@BradMclain BradMclain modified the milestones: 2.0.16, 2.0.17 Aug 25, 2016
@BradMclain BradMclain modified the milestones: 2.0.17, 2.0.18 Oct 4, 2016
@BradMclain BradMclain removed this from the 2.1.5 milestone Oct 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants