-
Notifications
You must be signed in to change notification settings - Fork 1
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
Release 0.9.0 #137
Release 0.9.0 #137
Conversation
133 tests
133 update improvements
Improvements in returning pephub stats info
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.
Posthumous review in ceremony. LGTM
@@ -17,7 +17,7 @@ jobs: | |||
image: postgres | |||
env: | |||
POSTGRES_USER: postgres | |||
POSTGRES_PASSWORD: docker | |||
POSTGRES_PASSWORD: pass8743hf9h23f87h437 |
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.
As long as this isnt some secret we use... 👍🏼
def delete_schema(self, engine=None) -> None: | ||
""" | ||
Delete sql schema in the database. | ||
|
||
:param engine: sqlalchemy engine [Default: None] | ||
:return: None | ||
""" | ||
if not engine: | ||
engine = self._engine | ||
Base.metadata.drop_all(engine) | ||
return None |
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.
For what? Seems like a dangerous function
self._project = PEPDatabaseProject(pep_db_engine) | ||
self._annotation = PEPDatabaseAnnotation(pep_db_engine) | ||
self._namespace = PEPDatabaseNamespace(pep_db_engine) | ||
self._sample = PEPDatabaseSample(pep_db_engine) | ||
self._user = PEPDatabaseUser(pep_db_engine) | ||
self._view = PEPDatabaseView(pep_db_engine) | ||
|
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 like the look of the double underscore more... but its my understanding you aren't supposed to use double underscores...
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.
So, I agree with this change
Changes: