issue 6108 fix filesystem backend cannot not be serialized by picked#6120
Merged
auvipy merged 3 commits intoMay 30, 2020
Merged
Conversation
|
This pull request introduces 1 alert when merging ade0ab2 into 704896a - view on LGTM.com new alerts:
|
auvipy
reviewed
May 30, 2020
| @pytest.mark.usefixtures('depends_on_current_app') | ||
| def test_pickleable(self): | ||
| tb = FilesystemBackend(app=self.app, url=self.url, serializer='pickle') | ||
| assert pickle.loads(pickle.dumps(tb)) No newline at end of file |
auvipy
approved these changes
May 30, 2020
|
This pull request introduces 2 alerts when merging db2f23d into 364bb29 - view on LGTM.com new alerts:
|
|
This pull request introduces 7 alerts when merging 8f37762 into 364bb29 - view on LGTM.com new alerts:
|
auvipy
approved these changes
May 30, 2020
#6108
Note: Before submitting this pull request, please review our contributing
guidelines.
Description
This PR is to fix issue-6108, that when a instance of FilesystemBackend class is pickled, it cannot be deserialised because a mandatory parameter has not been provided.
The unit test still needs further working, since the backend complains it needs a live app to be pickled.