Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ authored Oct 20, 2021
1 parent 978f16b commit 6bde8d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ parameters, dependencies and all DVC output types.
@PyTrack()
class HelloWorld:
"""Define a PyTrack Stage"""
max_number = DVC.params()
random_number = DVC.result()
# parameter to be tracked
max_number = DVC.params()
# parameter to store as output
random_number = DVC.result()
def __call__(self, max_number):
"""Pass tracked arguments"""
Expand Down

0 comments on commit 6bde8d7

Please sign in to comment.