Skip to content

Need utility to map strings to our Enum args #1555

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
Currently, many APIs take Enum args from: https://github.com/Project-MONAI/MONAI/blob/master/monai/utils/enums.py.
But we want to call the function from strings, need a mapping tool or something for it.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions