FYI: The docs and reality seem to disagree :stuck_...
# dagster-feedback
s
FYI: The docs and reality seem to disagree 😛 From https://docs.dagster.io/_apidocs/ops#dagster.op
name (Optional[str]) – Name of op. Must be unique within any
GraphDefinition
using the op.
but if I have two Ops with the same
name="abc"
argument in different Jobs but in the same Repository I get the following error:
Copy code
.../.venv/lib/python3.7/site-packages/dagster/core/workspace/context.py:563: UserWarning: Error loading repository location repository.py:dagster.core.errors.DagsterInvalidDefinitionError: Conflicting definitions found in repository with name 'abc'. Op/Graph/Solid definition names must be unique within a repository. OpDefinition is defined in job 'test1' and in job 'test2'.
For reference Dagster versions, I can try with the new release at a later point if that makes a difference
Copy code
$ pip freeze | grep dag 
dagit==0.14.9
dagster==0.14.9
dagster-graphql==0.14.9
dagster bot resolve to issue 1
e
Hey @Simon - thanks for flagging this. I'm gonna make a docs ticket to look into/address this 🙂
👍 1
@Dagster Bot docs Correct uniqueness requirement for ops in API docs
d