Content-Length: 269220 | pFad | http://github.com/modin-project/modin/commit/be2af47a505888a539cfdd7e399ad6d146a0e833

D5 FIX-#7532: Display choices in error message of environment vars (#7533) · modin-project/modin@be2af47 · GitHub
Skip to content

Commit be2af47

Browse files
FIX-#7532: Display choices in error message of environment vars (#7533)
## What do these changes do? This small PR displays the choices in error message of environment vars. - [x] first commit message and PR title follow format outlined [here](https://modin.readthedocs.io/en/latest/development/contributing.html#commit-message-formatting) > **_NOTE:_** If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title. - [x] passes `flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py` - [x] passes `black --check modin/ asv_bench/benchmarks scripts/doc_checker.py` - [x] signed commit with `git commit -s` <!-- you can amend your commit with a signature via `git commit -amend -s` --> - [x] Resolves #7532 - [ ] tests added and passing - [x] module layout described at `docs/development/architecture.rst` is up-to-date <!-- if you have added, renamed or removed files or directories please update the documentation accordingly --> Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com> Co-authored-by: Devin Petersohn <devin-petersohn@users.noreply.github.com>
1 parent f0a0b14 commit be2af47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modin/config/envvars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def set_active_backends(cls, new_choices: tuple) -> None:
510510
"""
511511
if not all(i in cls._BACKEND_TO_EXECUTION for i in new_choices):
512512
raise ValueError(
513-
"Active backend choices {new_choices} are not all registered."
513+
f"Active backend choices {new_choices} are not all registered."
514514
)
515515
cls.choices = new_choices
516516

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/modin-project/modin/commit/be2af47a505888a539cfdd7e399ad6d146a0e833

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy