Skip to content

Commit 5764570

Browse files
committed
documnet args on the builder
1 parent c283aa3 commit 5764570

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

python/private/pypi/hub_builder.bzl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ def hub_builder(
3232
"""Return a hub builder instance
3333
3434
Args:
35-
name: TODO
36-
module_name: TODO
35+
name: {type}`str`, the name of the hub.
36+
module_name: {type}`str`, the module name that has created the hub.
3737
config: The platform configuration.
38-
minor_mapping: TODO
39-
evaluate_markers_fn: the function used to evaluate the markers.
38+
minor_mapping: {type}`dict[str, str]` the mapping between minor and full versions.
39+
evaluate_markers_fn: the override function used to evaluate the markers.
4040
available_interpreters: {type}`dict[str, Label]` The dictionary of available
4141
interpreters that have been registered using the `python` bzlmod extension.
4242
The keys are in the form `python_{snake_case_version}_host`. This is to be
4343
used during the `repository_rule` and must be always compatible with the host.
44-
simpleapi_download_fn: TODO
45-
simpleapi_cache: TODO
46-
logger: TODO
44+
simpleapi_download_fn: the function used to download from SimpleAPI.
45+
simpleapi_cache: the cache for the download results.
46+
logger: the logger for this builder.
4747
"""
4848

4949
# buildifier: disable=uninitialized

0 commit comments

Comments
 (0)