Skip to content

Commit

Permalink
Add recurse types.
Browse files Browse the repository at this point in the history
  • Loading branch information
markpbaggett committed Aug 4, 2020
1 parent b6721a0 commit ca1d388
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"-o",
"--operation",
dest="operation",
help="Operation you want to run: download_rdf, get_labels, get_label_by_lang, get_types, get_range",
help="Operation you want to run: download_rdf, get_labels, get_label_by_lang, get_types, get_range,"
"recurse_types",
required=True,
)
parser.add_argument(
Expand Down Expand Up @@ -62,5 +63,7 @@
print(x.get_types(args.extra))
else:
print(x.get_types())
elif args.operation == "recurse_types":
print(x.recurse_types())
else:
print("Operation not valid.")

0 comments on commit ca1d388

Please sign in to comment.