Placeholder Generalization Issue for Automators
anmol-srivastava-mitre opened this issue · 1 comments
anmol-srivastava-mitre commented
In case we decide Injector
automator classes/code can be improved / generalized. Specifically many injectors share common arguments / patterns but have some extra attributes, making it difficult to standardize code that calls on them. We may want to address this via e.g. moving common steps to the __init__
call and making use of kwargs
, etc. in the __call__
portion.
Anmol-Srivastava commented
class NewInjector():
def __init__(self, common_params):
super().__init__()
def __call__(self, **kwargs):
# this erases the documentation of the specific arguments, though