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

fix: KeyError on deployments-cache #2496

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Feb 6, 2025

What I did

In my weird setups, I ended up getting a KeyError in a place I probably shouldn't have.
This fixes that.
Also, __contains__ on the disk cache never terminated... fixed that too.
One more thing, file dumping didn't work when the directory didn't exist, so it'll make the dirs now when dumping.

How I did it

How to verify it

Checklist

  • All changes are completed
  • Change is covered in tests
  • Documentation is complete

@antazoey antazoey merged commit a35ba6d into ApeWorX:main Feb 7, 2025
18 checks passed
@antazoey antazoey deleted the fix/keyerror-on-connect branch February 7, 2025 01:37
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