-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing primary_key is not supported when also passing a sa_column #150
Comments
Thats strange. Look at this if statement in line 109 https://github.com/tiangolo/sqlmodel/blob/main/sqlmodel/main.py#L109 Here you can see where sqlmodel throws the Maybe fastapi-amis-admin is doing something under the hood and passing an |
Run code from
fastapi-amis-admin-demo
throw
RuntimeError: Passing primary_key is not supported when also passing a sa_column
The text was updated successfully, but these errors were encountered: