-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Checks
- I have checked that this enhancement has not already been requested
How would you categorize this request. You can select multiple if not sure
Developer ergonomics (defaults, error messages)
Enhancement Description
Adding analysis methods to buckaroo is awkward. I copy the existing list of analysis_klasses, extend it with the new analysis_klass, then create a new class extending buckaroo with the analysis plumbed in. This should be built into BuckarooWidget
Pseudo Code Implementation
class A:
b = 12
def foo(self):
return 10
@classmethod
def foo(kls, new_b):
class t_class(kls):
b = new_b
return t_class
#A.foo(), A().foo()
new_class = A.foo(8)
new_class().b
returnPrior Art
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request