-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently add_import_function on Module will allow adding duplicate imports, which is usually undesired.
A new get_or_create_import_function primitive would be very useful to enable idempotent semantics and avoiding of duplicate imports. Alternatively the existing add_import_function could possible be extended, but we are focusing on full backwards compat on the API for the most part, preferring to deprecate APIs over changing them.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request