-
Notifications
You must be signed in to change notification settings - Fork 8
rationale behind scan_for_not_found=True #42
Copy link
Copy link
Open
Labels
Description
The default manager is currently set to always re-scan, when encountering an empty group in iter_entry_points:
https://github.com/DropD/reentry/blob/1d17bfdc00b7824980783f9a825cb202d28c281f/reentry/default_manager.py#L35
https://github.com/DropD/reentry/blob/1d17bfdc00b7824980783f9a825cb202d28c281f/reentry/default_manager.py#L48-L50
- Just for the record, what was the rationale behind making this the default ?
- In aiida, there are many places where we don't want that (e.g. verdi autocompletion). Currently, we are creating our own entrypoint manager with
scan_for_not_found=False. Is this the way to go or should one simply add ascan_for_not_foundparameter toiter_entry_pointsin reentry and always use the default manager from reentry?
Reactions are currently unavailable