(
self,
pip_version, # type: PipVersionValue
target, # type: Union[UniversalTarget, MarkerEnvironment]
requirement_files=None, # type: Optional[Iterable[str]]
)
| 231 | return self.repos_configuration.password_entries |
| 232 | |
| 233 | def patch( |
| 234 | self, |
| 235 | pip_version, # type: PipVersionValue |
| 236 | target, # type: Union[UniversalTarget, MarkerEnvironment] |
| 237 | requirement_files=None, # type: Optional[Iterable[str]] |
| 238 | ): |
| 239 | # type: (...) -> Optional[DownloadObserver] |
| 240 | return package_repositories.patch( |
| 241 | repos_configuration=self.repos_configuration.with_contained_repos( |
| 242 | requirement_files, |
| 243 | fetcher=URLFetcher(network_configuration=self.network_configuration), |
| 244 | ), |
| 245 | pip_version=pip_version, |
| 246 | target=target, |
| 247 | ) |
| 248 | |
| 249 | |
| 250 | if TYPE_CHECKING: |
no test coverage detected