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

Code cleanup/refactoring (#243) #263

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Code cleanup/refactoring (#243) #263

merged 1 commit into from
Dec 15, 2023

Conversation

mcantelon
Copy link
Member

@mcantelon mcantelon commented Dec 5, 2023

  • Replaced use of api_url dict with StorageService instance or ID
  • Did some refactoring to unify the AIP fetching code between the main app logic and the CLI tool

@mcantelon mcantelon force-pushed the dev/unify-fetch-logic branch 3 times, most recently from c1db8c0 to 1e8be56 Compare December 5, 2023 08:07
@mcantelon mcantelon changed the title work Cleanup Dec 5, 2023
@mcantelon mcantelon force-pushed the dev/unify-fetch-logic branch 8 times, most recently from 8325adc to 1caf143 Compare December 6, 2023 17:23
@mcantelon mcantelon marked this pull request as draft December 6, 2023 17:39
@mcantelon mcantelon force-pushed the dev/unify-fetch-logic branch 14 times, most recently from 3741799 to dfe49cb Compare December 7, 2023 22:06
@mcantelon mcantelon force-pushed the dev/unify-fetch-logic branch 10 times, most recently from 564dd0e to 9d62ec5 Compare December 14, 2023 23:49
@mcantelon mcantelon changed the title Cleanup Code cleanup/refactoring Dec 14, 2023
@mcantelon mcantelon changed the title Code cleanup/refactoring Code cleanup/refactoring (#243) Dec 14, 2023
@mcantelon mcantelon force-pushed the dev/unify-fetch-logic branch 10 times, most recently from a8b6293 to 59e7af8 Compare December 15, 2023 05:12
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
@mcantelon mcantelon force-pushed the dev/unify-fetch-logic branch from 59e7af8 to 10d9287 Compare December 15, 2023 05:17
@mcantelon mcantelon marked this pull request as ready for review December 15, 2023 05:54
Copy link
Member

@sevein sevein left a comment

Choose a reason for hiding this comment

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

I haven't tested but LGTM. I've noticed that the SS client logic coold be improved too, e.g. we're dealing with HTTP transport concerns in modules like database_helpers, etc. That could use some refactoring too in the future, e.g. a dedicated module with a Client or similar, something that could eventually be extracted into its own project if we wanted.

@mcantelon
Copy link
Member Author

Thanks @sevein ! Yeah, agreed that further refactoring would definitely help. This is kind of a first pass.

@mcantelon mcantelon merged commit 0fbb4ac into main Dec 15, 2023
6 checks passed
@mcantelon mcantelon deleted the dev/unify-fetch-logic branch December 15, 2023 18:23
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