Skip to content

rationale behind scan_for_not_found=True #42

Description

@ltalirz

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

  1. Just for the record, what was the rationale behind making this the default ?
  2. 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 a scan_for_not_found parameter to iter_entry_points in reentry and always use the default manager from reentry?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions