Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos: spaces in resource annotation examples #110

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions content/docs/guide-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ For example, in the code below we declare the S3 storage:

```
# oda:usesRequiredResource oda:MyS3 .
# oda: MyS3 a oda:S3 .
# oda: MyS3 oda:resourceBindingEnvVarName "MY_S3_CREDENTIALS" .
# oda:MyS3 a oda:S3 .
# oda:MyS3 oda:resourceBindingEnvVarName "MY_S3_CREDENTIALS" .
```
In the code below we initialize the S3 storage session using the credentials provided by means of the environment variable:

Expand All @@ -101,10 +101,10 @@ In the example below we declare dask cluster resource requirements in the parame

```
# oda:usesRequiredResource oda:MyDaskCluster .
# oda: MyDaskCluster a oda:Dask .
# oda: MyDaskCluster oda:memory_per_process "2G" .
# oda: MyDaskCluster oda:n_processes "16" .
# oda: MyDaskCluster oda:resourceBindingEnvVarName "MY_DASK_CREDENTIALS" .
# oda:MyDaskCluster a oda:Dask .
# oda:MyDaskCluster oda:memory_per_process "2G" .
# oda:MyDaskCluster oda:n_processes "16" .
# oda:MyDaskCluster oda:resourceBindingEnvVarName "MY_DASK_CREDENTIALS" .
```

Here `memory_per_process` and `n_processes` define minimal requirements to the resource.
Expand Down
Loading