Channels
advanced-need-help
job-posting
welcome
announcements
resources
plugins-integrations
beginners-need-help
random
introductions
Powered by
#advanced-need-help
Title
d
datajoely
03/27/2022, 7:57 PM
We typically err on the side of keeping things explicit. There are a couple of techniques you can use - you can make use of kwargs/args in your function definition so you can provide variable number of inputs. I sort of an example here:
https://github.com/datajoely/modular-spaceflights/blob/main/src/modular_spaceflights/pipelines/feature_engineering/pipeline.py#L41
you also may want to get creative with hooks.
Post