Skip to content

Handle empty json and non-data labels better #24

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

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

makermelissa
Copy link
Collaborator

Fixes #22.
Fixes #23.
When there's an unexpected json or your path does not match, this handles it much better. If you have some non-data labels, they can now be specified to not be data, otherwise they are treated as before so it shouldn't break any existing code.

@makermelissa makermelissa requested a review from a team November 24, 2020 21:16
@makermelissa makermelissa merged commit b4148eb into adafruit:main Nov 24, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 25, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_INA260 to 1.2.4 from 1.2.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_INA260#14 from SaintGimp/fix-count-constants

Updating https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad to 0.13.1 from 0.13.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ImageLoad#42 from FoamyGuy/magtag_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_MagTag to 1.1.1 from 1.0.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_MagTag#25 from makermelissa/main
  > Merge pull request adafruit/Adafruit_CircuitPython_MagTag#26 from adafruit/rename-example
  > Merge pull request adafruit/Adafruit_CircuitPython_MagTag#24 from makermelissa/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar to 1.3.5 from 1.3.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_ProgressBar#19 from FoamyGuy/magtag_example
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.

No way to specify whether a text should be updated by fetch or not Library has a hard time handling empty JSON responses
2 participants