Skip to content

Conversation

@ehanson8
Copy link
Contributor

What does this PR do?

This is a fundamental refactoring of dsaps that was requested to be reviewed in its entirety.

  • Much of the code that was in cli.py was shifted to workflows.py.
  • metadata.py and helpers.py were created to improve the overall organization of the code.
  • Business logic that was coded into the Client methods was shifted to helpers.py.
  • conftest.py was significantly expanded and actual CSV files were added as fixtures to give developers a better sense of the expected input files.
  • Functions and methods were reorganized in alphabetical order

Includes new or updated dependencies?

YES

Copy link
Contributor

@hakbailey hakbailey left a comment

Choose a reason for hiding this comment

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

Overall this is looking much better! See inline comments for some specific changes. At this point a lot of it is small stuff just to make the code cleaner, but there are a few things that are important. Happy to chat about any of it!

yield reader


@pytest.fixture()
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this fixture can be removed? And any others that aren't being used.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will also handle this in the reconcile refactor

Copy link
Contributor

@hakbailey hakbailey left a comment

Choose a reason for hiding this comment

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

Good to squash and merge!

@ehanson8 ehanson8 merged commit 4aa5182 into app-refactor Apr 9, 2021
@ehanson8 ehanson8 deleted the major-refactor branch April 9, 2021 18:53
ehanson8 added a commit that referenced this pull request Apr 10, 2021
* major refactor

* Restructure code examples

* PR updates

* Code review fixes

Co-authored-by: Helen Bailey <hbailey@mit.edu>
ehanson8 added a commit that referenced this pull request Apr 26, 2021
* major refactor

* Restructure code examples

* PR updates

* Code review fixes

Co-authored-by: Helen Bailey <hbailey@mit.edu>
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.

3 participants