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

Strategy: add pickle handling #35

Open
IceKhan13 opened this issue Jan 11, 2023 · 0 comments
Open

Strategy: add pickle handling #35

IceKhan13 opened this issue Jan 11, 2023 · 0 comments
Labels
enhancement New non-feature request (e.g. performance) triage Pending assessment

Comments

@IceKhan13
Copy link
Member

What is the expected enhancement?

As pickle is a default Python serialization mechanism it would be for strategy classes to be pickable.

Example:

import pickle
from ... import strategy

@strategy
class Awesomeness:
    def __init__(self, arg1, arg2, _something=None):
        pass

a = Awesomeness("chat-gpt", "dall-e")
pickle.dumps(a)
@IceKhan13 IceKhan13 added enhancement New non-feature request (e.g. performance) triage Pending assessment labels Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New non-feature request (e.g. performance) triage Pending assessment
Projects
None yet
Development

No branches or pull requests

1 participant