Client#
AuthenticationMiddleware
#
Client
#
GCSMiddleware
#
Middleware to work with gcs:// URLs
Examples#
```python
from rattler.networking import Client middleware = GCSMiddleware() middleware GCSMiddleware() Client([middleware]) Client()
fetch_repo_data(*, channels, platforms, cache_path, callback, client=None)
async
#
Returns a list of RepoData for given channels and platform.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
channels
|
List[Channel]
|
A list of |
required |
platforms
|
List[Platform]
|
A list of |
required |
cache_path
|
Union[str, PathLike[str]]
|
A |
required |
callback
|
Optional[Callable[[int, int], None]]
|
A |
required |
client
|
Optional[Client]
|
A |
None
|
Returns:
Type | Description |
---|---|
List[SparseRepoData]
|
A list of |