Skip to content

Commit 21ae854

Browse files
committed
fix error message, descriptions
1 parent ecc6044 commit 21ae854

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

python_modules/dagster/dagster/_core/definitions/op_definition.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ class OpDefinition(NodeDefinition, IHasInternalInit):
9191
code_version (Optional[str]): (Experimental) Version of the code encapsulated by the op. If set,
9292
this is used as a default code version for all outputs.
9393
retry_policy (Optional[RetryPolicy]): The retry policy for this op.
94-
pool (Optional[str]): A string that identifies the concurrency limit group that governs
95-
this op's execution.
94+
pool (Optional[str]): A string that identifies the pool that governs this op's execution.
9695
9796
9897
Examples:
@@ -613,7 +612,7 @@ def _validate_pool(pool, tags):
613612
tag_concurrency_key = tags.get(GLOBAL_CONCURRENCY_TAG)
614613
if pool and tag_concurrency_key and pool != tag_concurrency_key:
615614
raise DagsterInvalidDefinitionError(
616-
f'Concurrency group "{pool}" that conflicts with the concurrency key tag "{tag_concurrency_key}".'
615+
f'Pool "{pool}" conflicts with the concurrency key tag "{tag_concurrency_key}".'
617616
)
618617

619618
if pool:

python_modules/dagster/dagster/_core/snap/execution_plan_snapshot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def __new__(
177177
),
178178
tags=check.opt_nullable_mapping_param(tags, "tags", key_type=str, value_type=str),
179179
step_handle=check.opt_inst_param(step_handle, "step_handle", StepHandleTypes),
180-
# stores the concurrency group arg as separate from the concurrency_key property since the
180+
# stores the pool arg as separate from the concurrency_key property since the
181181
# snapshot may have been generated before concurrency_key was added as a separate
182182
# argument
183183
pool=check.opt_str_param(pool, "pool"),

0 commit comments

Comments
 (0)