Skip to content

Commit

Permalink
[doc]: Add missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
haoyu-zc committed Sep 26, 2024
1 parent cf13578 commit f9568cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/ccc/coef/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ def get_n_workers(n_jobs: int | None) -> int:
Args:
n_jobs: value specified by the main ccc function.
Returns:
The number of workers to use for parallel processing
"""
n_cpu_cores = os.cpu_count()
if n_cpu_cores is None:
Expand Down

0 comments on commit f9568cf

Please sign in to comment.