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

Tag names limitation #3785

Merged
merged 4 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions docs/source/nodes_and_pipelines/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ kedro run --tags=pipeline_tag

This will run only the nodes found within the pipeline tagged with `pipeline_tag`.

```{note}
Node or tag names must ONLY contain letters, digits, hyphens, underscores and/or periods. Other symbols are not permitted.
```

## How to run a node

Expand Down
6 changes: 4 additions & 2 deletions kedro/pipeline/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ def __init__( # noqa: PLR0913
When dict[str, str] is provided, variable names will be mapped
to the named outputs the function returns.
name: Optional node name to be used when displaying the node in
logs or any other visualisations.
tags: Optional set of tags to be applied to the node.
logs or any other visualisations. Valid node name must contain
only letters, digits, hyphens, underscores and/or fullstops.
tags: Optional set of tags to be applied to the node. Valid node tag must
contain only letters, digits, hyphens, underscores and/or fullstops.
confirms: Optional name or the list of the names of the datasets
that should be confirmed. This will result in calling
``confirm()`` method of the corresponding data set instance.
Expand Down