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

fix: docstring and minor refactoring #138

Merged
merged 3 commits into from
Mar 8, 2023
Merged

Conversation

Ayush5120
Copy link
Contributor

@Ayush5120 Ayush5120 commented Feb 20, 2023

  • Addressed Fix docstrings #136.
  • refactor to use list comprehension.
  • Raised custom exception instead of using generic in the middleware module.

Copy link
Member

@uniqueg uniqueg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Ayush5120!

Please split up into three PRs here, in this order:

  • feat: return specific error if no TES available
  • refactor: minor improvements on code clarity
  • docs: extend and correct docstrings

pro_tes/ga4gh/tes/models.py Outdated Show resolved Hide resolved
pro_tes/ga4gh/tes/task_runs.py Outdated Show resolved Hide resolved
pro_tes/ga4gh/tes/task_runs.py Outdated Show resolved Hide resolved
pro_tes/ga4gh/tes/task_runs.py Outdated Show resolved Hide resolved
pro_tes/ga4gh/tes/task_runs.py Outdated Show resolved Hide resolved
pro_tes/middleware/middleware.py Outdated Show resolved Hide resolved
pro_tes/middleware/middleware.py Outdated Show resolved Hide resolved
pro_tes/middleware/middleware.py Show resolved Hide resolved
pro_tes/middleware/task_distribution/distance.py Outdated Show resolved Hide resolved
pro_tes/middleware/task_distribution/distance.py Outdated Show resolved Hide resolved
@Ayush5120 Ayush5120 force-pushed the fix-codebase-docstrings branch 2 times, most recently from 1a727dc to a875233 Compare February 22, 2023 20:46
@uniqueg uniqueg merged commit 4023804 into dev Mar 8, 2023
@uniqueg uniqueg deleted the fix-codebase-docstrings branch March 8, 2023 01:56
@Ayush5120 Ayush5120 mentioned this pull request Mar 8, 2023
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