Skip to content

Improve doc for ntp.datetime access behavior and exceptions #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 3 commits into from
Sep 5, 2022

Conversation

jdimpson
Copy link
Contributor

@jdimpson jdimpson commented Sep 5, 2022

Added some words to the inline documentation about both how 1) accesses to ntp.datetime actually cause the NTP request to be sent, and therefore 2) accesses to ntp.datetime may throw an OSError exception, which should be caught and handled appropriately

@askpatrickw
Copy link
Contributor

Looks good, ty!

@askpatrickw askpatrickw merged commit 13ad13a into adafruit:main Sep 5, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 10, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_CLUE to 3.0.13 from 3.0.12:
  > Merge pull request adafruit/Adafruit_CircuitPython_CLUE#58 from adafruit/license-switch
  > Merge pull request adafruit/Adafruit_CircuitPython_CLUE#57 from adafruit/adding-bmps
  > Moved advanced remote up one directory

Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 5.0.4 from 5.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#173 from tekktrik/dev/add-optional-reqs

Updating https://github.com/adafruit/Adafruit_CircuitPython_NTP to 3.0.7 from 3.0.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_NTP#24 from jdimpson/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.14.4 from 1.14.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#82 from tekktrik/dev/error-passthrough
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