claimed-framework/c3

FeatureRequest: Support python parameters as additional source for input parameters

Opened this issue · 2 comments

python parameter specs have all information needed to exctact:

  • parameter name
  • parameter type
  • parameter default value
  • parameter description/help value
parser.add_argument(
    "--local_rank",
    type=int,
    default=-1,
    help="local rank passed from distributed launcher",
)

I like the idea!

The way to pass parameters as environment variables originated from Elyra, where Elyra injected/extracted parameters from CLAIMED components via env variable definitions. We could change Elyra to understand the parameter parser and completely remove env variables