Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Improve credentials docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiobasile committed Aug 11, 2023
1 parent d790d18 commit 9ce78ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prefect_planetary_computer/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ def get_dask_task_runner(
[`PlanetaryComputerCredentials.new_gateway_cluster`](#new_gateway_cluster) does,
but it will automatically happen at flow submission time.
Each argument corresponds to one of the available PC Dask Gateway cluster option.
PC sets some defaults, but they can be overridden by passing the corresponding argument to this function -
[see Helm chart](https://github.com/microsoft/planetary-computer-hub/blob/main/helm/chart/config.yaml).
Args:
worker_cores: Number of cores per worker, in the 0.1-8 range. Defaults to 1.
worker_memory: Amount of memory per worker (in GiB) in the 1-64 range. Defaults to 8.
Expand Down

0 comments on commit 9ce78ab

Please sign in to comment.