Revert "Update trace args to file_path in documentation"
This reverts commit 4a280ef8803eed2179fae24dcda805586f191e65.
Reason for revert: Docs accurately reflect the state in ToT. A new release of the Python library needs to happen.
Change-Id: I8f3bb025ddbf337a67426d0255b218c6f84d99a4
diff --git a/python/example.py b/python/example.py
index b0de1b2..ffdd9ac 100644
--- a/python/example.py
+++ b/python/example.py
@@ -40,11 +40,11 @@
if args.address is None and args.file is None:
raise Exception("You must specify an address or a file path to trace")
elif args.address is None:
- tp = TraceProcessor(file_path=args.file, config=config)
+ tp = TraceProcessor(trace=args.file, config=config)
elif args.file is None:
tp = TraceProcessor(addr=args.address, config=config)
else:
- tp = TraceProcessor(file_path=args.file, addr=args.address, config=config)
+ tp = TraceProcessor(trace=args.file, addr=args.address, config=config)
# Iterate through QueryResultIterator
res_it = tp.query('select * from slice limit 10')