|
| "SearchScope" | create (cls, List[str] find_links, List[str] index_urls, bool no_index) |
| |
|
None | __init__ (self, List[str] find_links, List[str] index_urls, bool no_index) |
| |
|
str | get_formatted_locations (self) |
| |
| List[str] | get_index_urls_locations (self, str project_name) |
| |
|
|
| find_links |
| |
|
| index_urls |
| |
|
| no_index |
| |
Encapsulates the locations that pip is configured to search.
◆ create()
| "SearchScope" pip._internal.models.search_scope.SearchScope.create |
( |
|
cls, |
|
|
List[str] |
find_links, |
|
|
List[str] |
index_urls, |
|
|
bool |
no_index |
|
) |
| |
Create a SearchScope object after normalizing the `find_links`.
◆ get_index_urls_locations()
| List[str] pip._internal.models.search_scope.SearchScope.get_index_urls_locations |
( |
|
self, |
|
|
str |
project_name |
|
) |
| |
Returns the locations found via self.index_urls
Checks the url_name on the main (first in the list) index and
use this url_name to produce all locations
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/pip/_internal/models/search_scope.py