code: def _save_jars_and_lic(dst_dir, store_license=False):
      from johnsnowlabs.auto_install.jsl_home import (
          get_install_suite_from_jsl_home,
      )
      from johnsnowlabs.py_models.jsl_secrets import JslSecrets
  
      deps_data_path = (
          Path(dst_dir) / _JOHNSNOWLABS_MODEL_PATH_SUB / "jars.jsl"
      )
      deps_data_path.mkdir(parents=True, exist_ok=True)
  
      suite = get_install_suite_from_jsl_home(
          False,
          visual=_JOHNSNOWLABS_ENV_VISUAL_SECRET in os.environ,
      )
      if suite.hc.get_java_path():
          shutil.copy2(
              suite.hc.get_java_path(), deps_data_path / "hc_jar.jar"
          )
      if suite.nlp.get_java_path():
          shutil.copy2(
              suite.nlp.get_java_path(), deps_data_path / "os_jar.jar"
          )
      if suite.ocr.get_java_path():
          shutil.copy2(
              suite.ocr.get_java_path(),
              deps_data_path / "visual_nlp.jar",
          )
  
      if store_license:
          # Read the secrets from env vars and write to license.json
          secrets = JslSecrets.build_or_try_find_secrets()
          if secrets.HC_LICENSE:
              deps_data_path.joinpath("license.json").write(
                  secrets.json()
              )
  
imports: import json
  import logging
  import os
  import posixpath
  import shutil
  import sys
  from pathlib import Path
  from typing import Any, Dict, Optional
  import yaml
  import mlflow
  from mlflow import mleap, pyfunc
  from mlflow.environment_variables import MLFLOW_DFS_TMP
  from mlflow.models import Model
  from mlflow.models.model import MLMODEL_FILE_NAME
  from mlflow.models.signature import ModelSignature
  from mlflow.models.utils import ModelInputExample, _save_example
  from mlflow.spark import _HadoopFileSystem, _maybe_save_model, _mlflowdbfs_path, _should_use_mlflowdbfs
  from mlflow.store.artifact.databricks_artifact_repo import DatabricksArtifactRepository
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
  from mlflow.tracking.artifact_utils import _download_artifact_from_uri, _get_root_uri_and_artifact_path
  from mlflow.utils import databricks_utils
  from mlflow.utils.annotations import experimental
  from mlflow.utils.docstring_utils import LOG_MODEL_PARAM_DOCS, format_docstring
  from mlflow.utils.environment import _CONDA_ENV_FILE_NAME, _CONSTRAINTS_FILE_NAME, _PYTHON_ENV_FILE_NAME, _REQUIREMENTS_FILE_NAME, _mlflow_conda_env, _process_conda_env, _process_pip_requirements, _PythonEnv
  from mlflow.utils.file_utils import TempDir, get_total_file_size, shutil_copytree_without_file_permissions, write_to
  from mlflow.utils.model_utils import _add_code_from_conf_to_system_path, _get_flavor_configuration_from_uri, _validate_and_copy_code_paths
  from mlflow.utils.requirements_utils import _get_pinned_requirement
  from mlflow.utils.uri import append_to_uri_path, dbfs_hdfs_uri_to_fuse_path, generate_tmp_dfs_path, get_databricks_profile_uri_from_artifact_uri, is_local_uri, is_valid_dbfs_uri
label_desc: Use image node_id 7 for calling a global function with example usage: _save_jars_and_lic(dst_dir, store_license) without return types