Skip to content

Commit

Permalink
changed examples in a way they work with package
Browse files Browse the repository at this point in the history
  • Loading branch information
v-aparna committed Mar 9, 2023
1 parent 4169061 commit cd558e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/docs-example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
import autometrics
from autometrics.autometrics import autometrics

@autometrics.autometrics
@autometrics
def hello():
'''A function that prints hello'''
print("Hello")
Expand Down
2 changes: 1 addition & 1 deletion examples/example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from prometheus_client import start_http_server
from autometrics import autometrics
from autometrics.autometrics import autometrics
import time

class Operations():
Expand Down

0 comments on commit cd558e5

Please sign in to comment.