From 65d935e5c7610511686928b6f170d8dec37e4545 Mon Sep 17 00:00:00 2001 From: Fabian Zills <46721498+PythonFZ@users.noreply.github.com> Date: Thu, 7 Apr 2022 15:39:16 +0200 Subject: [PATCH] Update dvc/repo/index.py Co-authored-by: Saugat Pachhai --- dvc/repo/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/repo/index.py b/dvc/repo/index.py index 160e5a1c8..0567d707b 100644 --- a/dvc/repo/index.py +++ b/dvc/repo/index.py @@ -92,7 +92,7 @@ class Index: yield from self.stages def __getitem__(self, item: str) -> "Stage": - """Get a Stage by its addressing attribute""" + """Get a stage by its addressing attribute.""" for stage in self.stages: if stage.addressing == item: return stage