We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On a related note, why not provide an __init__ to Condition?
__init__
Condition
Such that instead of the following
condition = Condition() condition.type_id = type_id condition.bitmask = bitmask condition.hash = _hash condition.max_fulfillment_length = max_fulfillment_length
we could simply do:
condition = Condition( type_id=self.type_id, bitmask=self.bitmask, hash=_hash, max_fulfillment_length=max_fulfillment_length, )
The text was updated successfully, but these errors were encountered:
Condition is an abstract class and should only be initialized by it's children (practically)
I think the example might be misleading... we could change it
Sorry, something went wrong.
diminator
No branches or pull requests
On a related note, why not provide an
__init__
toCondition
?Such that instead of the following
we could simply do:
The text was updated successfully, but these errors were encountered: