code: def main() -> None:
      parser = argparse.ArgumentParser(
          prog="generate_schema_wrapper.py",
          description="Generate the Altair package.",
      )
      parser.add_argument(
          "--skip-download",
          action="store_true",
          help="skip downloading schema files",
      )
      args = parser.parse_args()
      copy_schemapi_util()
      vegalite_main(args.skip_download)
  
      # The modules below are imported after the generation of the new schema files
      # as these modules import Altair. This allows them to use the new changes
      import generate_api_docs  # noqa: E402
      import update_init_file  # noqa: E402
  
      generate_api_docs.write_api_file()
      update_init_file.update__all__variable()
  
imports: import argparse
  import copy
  import json
  import os
  import re
  import sys
  import textwrap
  from dataclasses import dataclass
  from os.path import abspath, dirname, join
  from typing import Dict, Final, List, Literal, Optional, Tuple, Type, Union
  from urllib import request
  import m2r
  from schemapi import codegen
  from schemapi.codegen import CodeSnippet
  from schemapi.utils import SchemaInfo, get_valid_identifier, resolve_references, ruff_format_str, rst_syntax_for_class, indent_docstring
label_desc: Use image node_id 17 for calling a global function with example usage: main() without return types