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

Moved flask app out of global space, moved routes to a class, updated… #277

Conversation

fall-byrd
Copy link
Contributor

… related calls

TL;DR

Quick summary/list of your change(s)

What

What is affected by this PR?

  • API
  • GUI
  • Hardware Integration
  • OS/Deployment
  • Documentation
  • Other (please describe in notes)

Testing

How was this tested?

  • Locally Virtualized
  • Raspberry Pi
  • With Hardware
  • [] Other (please describe in notes)

Tested the usual way, unit tests pass and also through the UI.

Figured I'd start with getting the changes in with a relatively small set initially, the routes.py changes look more intimidating than they are: moved the routes to a class to move more out of global space, maybe not required but with the recent difficulty we had the more out of global space the better.

@fall-byrd
Copy link
Contributor Author

This does not resolve the overall issue I was looking to fix with the improper shutdown but that will be forthcoming shortly in another PR after this is merged in. Trying to keep this in smaller chunks as much as I can.

mike-kiss

This comment was marked as duplicate.

@sparklestheunicorn sparklestheunicorn merged commit f3437f8 into FourThievesVinegar:master Nov 7, 2024
2 checks passed
@sparklestheunicorn sparklestheunicorn requested review from mike-kiss and removed request for mike-kiss November 7, 2024 02:08
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