Skip to content

Bug "type object 'Employee' has no attribute 'sort_argument'" #216

Description

@royhananwar

I just clone this repo and try flask example
but when I try to run it without have any changing code
I got an error like this

Traceback (most recent call last): File "./app.py", line 5, in <module> from schema import schema File "/home/examples/flask_sqlalchemy/schema.py", line 28, in <module> class Query(graphene.ObjectType): File "/home/examples/flask_sqlalchemy/schema.py", line 32, in Query Employee, sort=Employee.sort_argument()) AttributeError: type object 'Employee' has no attribute 'sort_argument'

What should I do?

Thank you!

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