You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
classNewInjector():
def__init__(self, common_params):
super().__init__()
def__call__(self, **kwargs):
# this erases the documentation of the specific arguments, though
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 ofkwargs
, etc. in the__call__
portion.The text was updated successfully, but these errors were encountered: