Skip to content

SQL query with reference to self doesn't restore when using select(use_labels=True) #11

@frmdstryr

Description

@frmdstryr

This causes a loop when it tries to lookup the parent and sees itself... need to see what aiomysql does with this.

class Page(BaseModel):
    #: Enabled state
    enabled = Bool()
    #: Parent page
    parent = ForwardInstance(lambda: Page)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions