class_docstr: Hook to manage connection to jenkins server.
class_docstr_tok: ["Hook","to","manage","connection","to","jenkins","server","."]
docstr: Returns connection widgets to add to connection form.
docstr_tok: ["Returns","connection","widgets","to","add","to","connection","form","."]
code: def get_connection_form_widgets(cls) -> dict[str, Any]:
      """Returns connection widgets to add to connection form."""
      from flask_babel import lazy_gettext
      from wtforms import BooleanField
  
      return {
          "use_https": BooleanField(
              label=lazy_gettext("Use Https"),
              description="Specifies whether to use https scheme. Defaults to http",
          ),
      }
  
file_path: airflow/airflow/providers/jenkins/hooks/jenkins.py
imports: from __future__ import annotations
  from typing import Any
  import jenkins
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 1 for calling the JenkinsHook obj's underlying member method code with example usage: obj.get_connection_form_widgets(cls) and returns: dict