Skip to content
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

Merged
merged 29 commits into from
Jul 2, 2024
Merged

Release 0.9.0 #137

merged 29 commits into from
Jul 2, 2024

Conversation

khoroshevskyi
Copy link
Member

@khoroshevskyi khoroshevskyi commented Jun 28, 2024

Changes:

@khoroshevskyi khoroshevskyi requested a review from nleroy917 July 2, 2024 16:17
@nleroy917 nleroy917 merged commit f28d401 into master Jul 2, 2024
7 checks passed
Copy link
Member

@nleroy917 nleroy917 left a 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
Copy link
Member

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... 👍🏼

Comment on lines +343 to +353
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
Copy link
Member

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

Comment on lines +51 to 57
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)

Copy link
Member

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...

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants