Skip to content

Commit 272f884

Browse files
committed
finish adjusting the docstrings
1 parent 3ecc713 commit 272f884

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

python/private/pypi/evaluate_markers.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def evaluate_markers(*, requirements, platforms):
3333
3434
Args:
3535
requirements: {type}`dict[str, list[str]]` of the requirement file lines to evaluate.
36-
platforms: {type}`dict[str | struct]` TODO
36+
platforms: {type}`dict[str, dict[str, str]]` The environments that we for each requirement
37+
file to evaluate. The keys between the platforms and requirements should be shared.
3738
3839
Returns:
3940
dict of string lists with target platforms

python/private/pypi/pep508_evaluate.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def evaluate(marker, *, env, strict = True, **kwargs):
117117
118118
Args:
119119
marker: {type}`str` The string marker to evaluate.
120-
env: {type}`dict` The environment to evaluate the marker against.
120+
env: {type}`dict[str, str]` The environment to evaluate the marker against.
121121
strict: {type}`bool` A setting to not fail on missing values in the env.
122122
**kwargs: Extra kwargs to be passed to the expression evaluator.
123123

0 commit comments

Comments
 (0)