Skip to content

Commit

Permalink
remove argparse
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Feb 13, 2024
1 parent f276f19 commit 4665805
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/docs/exctract_schema.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Extract API schema and split into smaller subsections."""

import argparse
import os
import textwrap

Expand Down Expand Up @@ -134,12 +133,3 @@ def parse_api_file(filename: str):

# Finally, generate an index file for the API schema
generate_index_file(data['info']['version'])


if __name__ == '__main__':
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('input', help='Input API schema file (.yml)')

args = parser.parse_args()

parse_api_file(args.input)

0 comments on commit 4665805

Please sign in to comment.