-
Notifications
You must be signed in to change notification settings - Fork 19
PortalBase refactoring to work with PyPortal better #8
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this with MagTag using a few of my own projects and the scripts in examples folder of MagTag repo. Everything is working successfully.
Changes look good to me aside from two small things to cleanup. I could do these in a followup PR also if it helps.
I will test the #99 in PyPortal repo with this today as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I retested this with PyPortal #99 and a few PyPortal projects, everything working well now.
Looks good to me
Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 5.0.0 from 4.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#99 from makermelissa/master > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#100 from makermelissa/fix-precommit > Added pre-commit-config file > Added pre-commit and SPDX copyright Updating https://github.com/adafruit/Adafruit_CircuitPython_TM to 1.0.1 from 1.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_TM#1 from adeanzan/patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_BusDevice to 5.0.3 from 5.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_BusDevice#61 from mstaack/patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.1.0 from 1.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#8 from makermelissa/main
I refactored PortalBase in order to better facilitate using it with PyPortal. With these changes, no additional changes should be required for the MagTag and MatrixPortal libraries. This was more about splitting some of the sections of fetch into smaller chunks so it was easier to make a higher level function that could call these chunks when needed.