Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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