-
Notifications
You must be signed in to change notification settings - Fork 3
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
Routes project refactor #80
base: develop
Are you sure you want to change the base?
Conversation
…passed to function
# Conflicts: # src/api/views/oauthView.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/api/controllers/userController.py
changes will make conflicts with the input-validation
branch changes
userHasProject = UserHasProject(role=1) | ||
userHasProject.project = project | ||
userHasProject.user = user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userHasProject
table is not filled automatically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the example in the documentation: https://docs.sqlalchemy.org/en/13/orm/basic_relationships.html#association-object
Didn't find any other way to create the relationship.
No description provided.