Skip to content

Commit

Permalink
Fix typos in core docstrings (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad authored Jun 11, 2024
1 parent a4aa92a commit f96d3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nornir/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ def __exit__(
def with_processors(self, processors: List[Processor]) -> "Nornir":
"""
Given a list of Processor objects return a copy of the nornir object with the processors
assigned to the copy. The orinal object is left unmodified.
assigned to the copy. The original object is left unmodified.
"""
return Nornir(**{**self.__dict__, **{"processors": Processors(processors)}})

def with_runner(self, runner: RunnerPlugin) -> "Nornir":
"""
Given a runner return a copy of the nornir object with the runner
assigned to the copy. The orinal object is left unmodified.
assigned to the copy. The original object is left unmodified.
"""
return Nornir(**{**self.__dict__, **{"runner": runner}})

Expand Down

0 comments on commit f96d3e7

Please sign in to comment.