Skip to content

bug(py38): port functools.cache support#483

Merged
christophertubbs merged 2 commits into
NOAA-OWP:masterfrom
aaraney:fix-tests
Jan 23, 2024
Merged

bug(py38): port functools.cache support#483
christophertubbs merged 2 commits into
NOAA-OWP:masterfrom
aaraney:fix-tests

Conversation

@aaraney

@aaraney aaraney commented Jan 23, 2024

Copy link
Copy Markdown
Member

Fix ImportError: cannot import name 'cache' from 'functools' bug present in python3.8.

dmod.scheduler -- 0.10.1

Changes

  • Fix ImportError: cannot import name 'cache' from 'functools' bug present in python3.8.

@aaraney

aaraney commented Jan 23, 2024

Copy link
Copy Markdown
Member Author

tests are failing b.c. of something that will be addressed in #424.

@christophertubbs christophertubbs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Beautiful. I wouldn't have thought of the type guard and I like your use of the tuple check - I don't remember the way I usually do it, but this is better.

@christophertubbs
christophertubbs merged commit 9c16daa into NOAA-OWP:master Jan 23, 2024
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