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

in-memory core #40

Merged
merged 3 commits into from
Nov 25, 2020
Merged

in-memory core #40

merged 3 commits into from
Nov 25, 2020

Conversation

shaypal5
Copy link
Collaborator

Mainly the work of @cthoyt . I've only added the thread-safety functionality.

cthoyt and others added 3 commits November 17, 2020 18:24
Add stubs for redis and memory

References #4 and references #6

Make default compatible with previous interface

Now, the default is calculated dynamically to maintain previous behavior to default to pickle unless the ``mongetter`` argument is given. This makes it have the same behavior as before, so users aren't forced to change old code to use the ``backend`` argument

Update docs

Add tests
Closes #6

Still needs unit tests

Update memory_core.py

Add tests for memory core

@shaypal5 these are copied from the pickle tests, the only one failing is test_memory_being_calculated. I could use your help with the implementation of the relevant function becuase I don't think I understand the threading part
Memory core is now thread safe
@shaypal5 shaypal5 merged commit 5b0bff9 into master Nov 25, 2020
@shaypal5 shaypal5 deleted the inmemory branch November 25, 2020 12:23
@cthoyt
Copy link
Contributor

cthoyt commented Nov 25, 2020

@shaypal5 that's great! Thanks for the help!

@shaypal5
Copy link
Collaborator Author

Released in v1.5.0 !!! 🥇 🥳

Congrats and great work, @cthoyt ! First major outside contribution to this project!
I'm so proud. May it be the first of many (by you and/or users of the package)!

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.

None yet

2 participants