-
-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Labels
enhancementNew feature or requestNew feature or requestpending author responseA question was asked or some work is pendingA question was asked or some work is pending
Description
🚀 Feature request
Given this simple parser setup, is it possible to parse values that are paths to python variables that resolve the the requested type?
parser = jsonargparse.ArgumentParser()
parser.add_argument("--float", type=float)
parser.parse_args(["--float", "math.pi"])
Motivation
Pitch
Alternatives
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpending author responseA question was asked or some work is pendingA question was asked or some work is pending