-
Notifications
You must be signed in to change notification settings - Fork 4
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
[WIP] View access #130
base: dev
Are you sure you want to change the base?
[WIP] View access #130
Conversation
Entity/ProfessorSectionView.py
Outdated
|
||
|
||
class ProfessorSectionView(Base): | ||
__tablename__ = "Professor_Teaches_Section_2" |
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 believe Professor_Teaches_Section_2
was a by product of me exploring the CREATE VIEW
syntax in SQL.
Let's consider Professor_Teaches_Section
to be the official __tablename__
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.
Fixed and tested
Changed from "Professor_Teaches_Section_2" to "Professor_Teaches_Section"
What's New?
Added access to the Professor_Teaches_Section_View_2
See: Issue #129
Type of change (pick-one)
How Has This Been Tested?
running _get_property_from_entity() on the Professors table and Professor_Teaches_Section_2 view.
Checklist (check-all-before-merge)
formatting help:
- [x]
means "checked' and- [ ]
means "unchecked"I documented my code according to the Google Python Style Guide
I ran
./build_docs.sh
and the docs look fineI ran
./type_check.sh
and got no errorsI ran
./format.sh
because it automatically cleans my code for me 😄I ran
./lint.sh
to check for what "format" missedI added my tests to the
/tests
directoryI ran
./run_tests.sh
and all the tests pass