We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[DOC-FIX] MLFLOW_TRACKING_AWS_SIGV4 environment variable does not appear in the python API docs
### Willingness to contribute

Yes. I can contribute a documentation fix independently.

### URL(s) with the issue

https://www.mlflow.org/docs/latest/python_api/mlflow.environment_variables.html

### Description of proposal (what needs changing)

Fix the doc-string in `mlflow.environment_variables` to ensure the documentation compiles correctly (there is a missing semicolon)

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `mlflow/environment_variables.py`
Content:
```
1 """
2 This module defines environment variables used in MLflow.
3 """
4 import os
5 
6 
7 class _EnvironmentVariable:
8     """
9     Represents an environment variable.
10     """
11 
12     def __init__(self, name, type_, default):
13         self.name = name
14         self.type = type_
15         self.default = default
16 
17     @property
18     def is_defined(self):
19         return self.name in os.environ
20 
21     def get(self):
22         """
23         Reads the value of the environment variable if it exists and converts it to the desired
24         type. Otherwise, returns the default value.
25         """
26         val = os.getenv(self.name)
27         if val:
28             try:
29                 return self.type(val)
30             except Exception as e:
31                 raise ValueError(f"Failed to convert {val} to {self.type} for {self.name}: {e}")
32         return self.default
33 
34     def __str__(self):
35         return f"{self.name} (default: {self.default}, type: {self.type.__name__})"
36 
37     def __repr__(self):
38         return repr(self.name)
39 
40 
41 class _BooleanEnvironmentVariable(_EnvironmentVariable):
42     """
43     Represents a boolean environment variable.
44     """
45 
46     def __init__(self, name, default):
47         # `default not in [True, False, None]` doesn't work because `1 in [True]`
48         # (or `0 in [False]`) returns True.
49         if not (default is True or default is False or default is None):
50             raise ValueError(f"{name} default value must be one of [True, False, None]")
51         super().__init__(name, bool, default)
52 
53     def get(self):
54         if not self.is_defined:
55             return self.default
56 
57         val = os.getenv(self.name)
58         lowercased = val.lower()
59         if lowercased not in ["true", "false", "1", "0"]:
60             raise ValueError(
61                 f"{self.name} value must be one of ['true', 'false', '1', '0'] (case-insensitive), "
62                 f"but got {val}"
63             )
64         return lowercased in ["true", "1"]
65 
66 
67 #: Specifies the ``dfs_tmpdir`` parameter to use for ``mlflow.spark.save_model``,
68 #: ``mlflow.spark.log_model`` and ``mlflow.spark.load_model``. See
69 #: https://www.mlflow.org/docs/latest/python_api/mlflow.spark.html#mlflow.spark.save_model
70 #: for more information.
71 #: (default: ``/tmp/mlflow``)
72 MLFLOW_DFS_TMP = _EnvironmentVariable("MLFLOW_DFS_TMP", str, "/tmp/mlflow")
73 
74 #: Specifies the maximum number of retries for MLflow HTTP requests
75 #: (default: ``5``)
76 MLFLOW_HTTP_REQUEST_MAX_RETRIES = _EnvironmentVariable("MLFLOW_HTTP_REQUEST_MAX_RETRIES", int, 5)
77 
78 #: Specifies the backoff increase factor between MLflow HTTP request failures
79 #: (default: ``2``)
80 MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR = _EnvironmentVariable(
81     "MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR", int, 2
82 )
83 
84 #: Specifies the timeout in seconds for MLflow HTTP requests
85 #: (default: ``120``)
86 MLFLOW_HTTP_REQUEST_TIMEOUT = _EnvironmentVariable("MLFLOW_HTTP_REQUEST_TIMEOUT", int, 120)
87 
88 #: Specifies whether MLFlow HTTP requests should be signed using AWS signature V4. It will overwrite
89 #: (default: ``False``). When set, it will overwrite the "Authorization" HTTP header
90 # See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.
91 MLFLOW_TRACKING_AWS_SIGV4 = _BooleanEnvironmentVariable("MLFLOW_TRACKING_AWS_SIGV4", False)
92 
93 #: Specifies the chunk size to use when downloading a file from GCS
94 #: (default: ``None``). If None, the chunk size is automatically determined by the
95 #: ``google-cloud-storage`` package.
96 MLFLOW_GCS_DOWNLOAD_CHUNK_SIZE = _EnvironmentVariable("MLFLOW_GCS_DOWNLOAD_CHUNK_SIZE", int, None)
97 
98 #: Specifies the chunk size to use when uploading a file to GCS.
99 #: (default: ``None``). If None, the chunk size is automatically determined by the
100 #: ``google-cloud-storage`` package.
101 MLFLOW_GCS_UPLOAD_CHUNK_SIZE = _EnvironmentVariable("MLFLOW_GCS_UPLOAD_CHUNK_SIZE", int, None)
102 
103 #: Specifies the default timeout to use when downloading/uploading a file from/to GCS
104 #: (default: ``None``). If None, ``google.cloud.storage.constants._DEFAULT_TIMEOUT`` is used.
105 MLFLOW_GCS_DEFAULT_TIMEOUT = _EnvironmentVariable("MLFLOW_GCS_DEFAULT_TIMEOUT", int, None)
106 
107 #: Specifies whether to disable model logging and loading via mlflowdbfs.
108 #: (default: ``None``)
109 _DISABLE_MLFLOWDBFS = _EnvironmentVariable("DISABLE_MLFLOWDBFS", str, None)
110 
111 #: Specifies the S3 endpoint URL to use for S3 artifact operations.
112 #: (default: ``None``)
113 MLFLOW_S3_ENDPOINT_URL = _EnvironmentVariable("MLFLOW_S3_ENDPOINT_URL", str, None)
114 
115 #: Specifies whether or not to skip TLS certificate verification for S3 artifact operations.
116 #: (default: ``False``)
117 MLFLOW_S3_IGNORE_TLS = _BooleanEnvironmentVariable("MLFLOW_S3_IGNORE_TLS", False)
118 
119 #: Specifies extra arguments for S3 artifact uploads.
120 #: (default: ``None``)
121 MLFLOW_S3_UPLOAD_EXTRA_ARGS = _EnvironmentVariable("MLFLOW_S3_UPLOAD_EXTRA_ARGS", str, None)
122 
123 #: Specifies the location of a Kerberos ticket cache to use for HDFS artifact operations.
124 #: (default: ``None``)
125 MLFLOW_KERBEROS_TICKET_CACHE = _EnvironmentVariable("MLFLOW_KERBEROS_TICKET_CACHE", str, None)
126 
127 #: Specifies a Kerberos user for HDFS artifact operations.
128 #: (default: ``None``)
129 MLFLOW_KERBEROS_USER = _EnvironmentVariable("MLFLOW_KERBEROS_USER", str, None)
130 
131 #: Specifies extra pyarrow configurations for HDFS artifact operations.
132 #: (default: ``None``)
133 MLFLOW_PYARROW_EXTRA_CONF = _EnvironmentVariable("MLFLOW_PYARROW_EXTRA_CONF", str, None)
134 
135 #: Specifies the ``pool_size`` parameter to use for ``sqlalchemy.create_engine`` in the SQLAlchemy
136 #: tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_size
137 #: for more information.
138 #: (default: ``None``)
139 MLFLOW_SQLALCHEMYSTORE_POOL_SIZE = _EnvironmentVariable(
140     "MLFLOW_SQLALCHEMYSTORE_POOL_SIZE", int, None
141 )
142 
143 #: Specifies the ``pool_recycle`` parameter to use for ``sqlalchemy.create_engine`` in the
144 #: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_recycle
145 #: for more information.
146 #: (default: ``None``)
147 MLFLOW_SQLALCHEMYSTORE_POOL_RECYCLE = _EnvironmentVariable(
148     "MLFLOW_SQLALCHEMYSTORE_POOL_RECYCLE", int, None
149 )
150 
151 #: Specifies the ``max_overflow`` parameter to use for ``sqlalchemy.create_engine`` in the
152 #: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.max_overflow
153 #: for more information.
154 #: (default: ``None``)
155 MLFLOW_SQLALCHEMYSTORE_MAX_OVERFLOW = _EnvironmentVariable(
156     "MLFLOW_SQLALCHEMYSTORE_MAX_OVERFLOW", int, None
157 )
158 
159 #: Specifies the ``echo`` parameter to use for ``sqlalchemy.create_engine`` in the
160 #: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.echo
161 #: for more information.
162 #: (default: ``False``)
163 MLFLOW_SQLALCHEMYSTORE_ECHO = _BooleanEnvironmentVariable("MLFLOW_SQLALCHEMYSTORE_ECHO", False)
164 
165 #: Specifies the ``poolclass`` parameter to use for ``sqlalchemy.create_engine`` in the
166 #: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.poolclass
167 #: for more information.
168 #: (default: ``None``)
169 MLFLOW_SQLALCHEMYSTORE_POOLCLASS = _EnvironmentVariable(
170     "MLFLOW_SQLALCHEMYSTORE_POOLCLASS", str, None
171 )
172 
173 #: Specifies the ``timeout_seconds`` for MLflow Model dependency inference operations.
174 #: (default: ``120``)
175 MLFLOW_REQUIREMENTS_INFERENCE_TIMEOUT = _EnvironmentVariable(
176     "MLFLOW_REQUIREMENTS_INFERENCE_TIMEOUT", int, 120
177 )
178
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/mlflow/environment_variables.py b/mlflow/environment_variables.py
--- a/mlflow/environment_variables.py
+++ b/mlflow/environment_variables.py
@@ -86,8 +86,8 @@
 MLFLOW_HTTP_REQUEST_TIMEOUT = _EnvironmentVariable("MLFLOW_HTTP_REQUEST_TIMEOUT", int, 120)
 
 #: Specifies whether MLFlow HTTP requests should be signed using AWS signature V4. It will overwrite
-#: (default: ``False``). When set, it will overwrite the "Authorization" HTTP header
-# See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.
+#: (default: ``False``). When set, it will overwrite the "Authorization" HTTP header.
+#: See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.
 MLFLOW_TRACKING_AWS_SIGV4 = _BooleanEnvironmentVariable("MLFLOW_TRACKING_AWS_SIGV4", False)
 
 #: Specifies the chunk size to use when downloading a file from GCS

{"golden_diff": "diff --git a/mlflow/environment_variables.py b/mlflow/environment_variables.py\n--- a/mlflow/environment_variables.py\n+++ b/mlflow/environment_variables.py\n@@ -86,8 +86,8 @@\n MLFLOW_HTTP_REQUEST_TIMEOUT = _EnvironmentVariable(\"MLFLOW_HTTP_REQUEST_TIMEOUT\", int, 120)\n \n #: Specifies whether MLFlow HTTP requests should be signed using AWS signature V4. It will overwrite\n-#: (default: ``False``). When set, it will overwrite the \"Authorization\" HTTP header\n-# See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.\n+#: (default: ``False``). When set, it will overwrite the \"Authorization\" HTTP header.\n+#: See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.\n MLFLOW_TRACKING_AWS_SIGV4 = _BooleanEnvironmentVariable(\"MLFLOW_TRACKING_AWS_SIGV4\", False)\n \n #: Specifies the chunk size to use when downloading a file from GCS\n", "issue": "[DOC-FIX] MLFLOW_TRACKING_AWS_SIGV4 environment variable does not appear in the python API docs\n### Willingness to contribute\n\nYes. I can contribute a documentation fix independently.\n\n### URL(s) with the issue\n\nhttps://www.mlflow.org/docs/latest/python_api/mlflow.environment_variables.html\n\n### Description of proposal (what needs changing)\n\nFix the doc-string in `mlflow.environment_variables` to ensure the documentation compiles correctly (there is a missing semicolon)\n", "before_files": [{"content": "\"\"\"\nThis module defines environment variables used in MLflow.\n\"\"\"\nimport os\n\n\nclass _EnvironmentVariable:\n    \"\"\"\n    Represents an environment variable.\n    \"\"\"\n\n    def __init__(self, name, type_, default):\n        self.name = name\n        self.type = type_\n        self.default = default\n\n    @property\n    def is_defined(self):\n        return self.name in os.environ\n\n    def get(self):\n        \"\"\"\n        Reads the value of the environment variable if it exists and converts it to the desired\n        type. Otherwise, returns the default value.\n        \"\"\"\n        val = os.getenv(self.name)\n        if val:\n            try:\n                return self.type(val)\n            except Exception as e:\n                raise ValueError(f\"Failed to convert {val} to {self.type} for {self.name}: {e}\")\n        return self.default\n\n    def __str__(self):\n        return f\"{self.name} (default: {self.default}, type: {self.type.__name__})\"\n\n    def __repr__(self):\n        return repr(self.name)\n\n\nclass _BooleanEnvironmentVariable(_EnvironmentVariable):\n    \"\"\"\n    Represents a boolean environment variable.\n    \"\"\"\n\n    def __init__(self, name, default):\n        # `default not in [True, False, None]` doesn't work because `1 in [True]`\n        # (or `0 in [False]`) returns True.\n        if not (default is True or default is False or default is None):\n            raise ValueError(f\"{name} default value must be one of [True, False, None]\")\n        super().__init__(name, bool, default)\n\n    def get(self):\n        if not self.is_defined:\n            return self.default\n\n        val = os.getenv(self.name)\n        lowercased = val.lower()\n        if lowercased not in [\"true\", \"false\", \"1\", \"0\"]:\n            raise ValueError(\n                f\"{self.name} value must be one of ['true', 'false', '1', '0'] (case-insensitive), \"\n                f\"but got {val}\"\n            )\n        return lowercased in [\"true\", \"1\"]\n\n\n#: Specifies the ``dfs_tmpdir`` parameter to use for ``mlflow.spark.save_model``,\n#: ``mlflow.spark.log_model`` and ``mlflow.spark.load_model``. See\n#: https://www.mlflow.org/docs/latest/python_api/mlflow.spark.html#mlflow.spark.save_model\n#: for more information.\n#: (default: ``/tmp/mlflow``)\nMLFLOW_DFS_TMP = _EnvironmentVariable(\"MLFLOW_DFS_TMP\", str, \"/tmp/mlflow\")\n\n#: Specifies the maximum number of retries for MLflow HTTP requests\n#: (default: ``5``)\nMLFLOW_HTTP_REQUEST_MAX_RETRIES = _EnvironmentVariable(\"MLFLOW_HTTP_REQUEST_MAX_RETRIES\", int, 5)\n\n#: Specifies the backoff increase factor between MLflow HTTP request failures\n#: (default: ``2``)\nMLFLOW_HTTP_REQUEST_BACKOFF_FACTOR = _EnvironmentVariable(\n    \"MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR\", int, 2\n)\n\n#: Specifies the timeout in seconds for MLflow HTTP requests\n#: (default: ``120``)\nMLFLOW_HTTP_REQUEST_TIMEOUT = _EnvironmentVariable(\"MLFLOW_HTTP_REQUEST_TIMEOUT\", int, 120)\n\n#: Specifies whether MLFlow HTTP requests should be signed using AWS signature V4. It will overwrite\n#: (default: ``False``). When set, it will overwrite the \"Authorization\" HTTP header\n# See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.\nMLFLOW_TRACKING_AWS_SIGV4 = _BooleanEnvironmentVariable(\"MLFLOW_TRACKING_AWS_SIGV4\", False)\n\n#: Specifies the chunk size to use when downloading a file from GCS\n#: (default: ``None``). If None, the chunk size is automatically determined by the\n#: ``google-cloud-storage`` package.\nMLFLOW_GCS_DOWNLOAD_CHUNK_SIZE = _EnvironmentVariable(\"MLFLOW_GCS_DOWNLOAD_CHUNK_SIZE\", int, None)\n\n#: Specifies the chunk size to use when uploading a file to GCS.\n#: (default: ``None``). If None, the chunk size is automatically determined by the\n#: ``google-cloud-storage`` package.\nMLFLOW_GCS_UPLOAD_CHUNK_SIZE = _EnvironmentVariable(\"MLFLOW_GCS_UPLOAD_CHUNK_SIZE\", int, None)\n\n#: Specifies the default timeout to use when downloading/uploading a file from/to GCS\n#: (default: ``None``). If None, ``google.cloud.storage.constants._DEFAULT_TIMEOUT`` is used.\nMLFLOW_GCS_DEFAULT_TIMEOUT = _EnvironmentVariable(\"MLFLOW_GCS_DEFAULT_TIMEOUT\", int, None)\n\n#: Specifies whether to disable model logging and loading via mlflowdbfs.\n#: (default: ``None``)\n_DISABLE_MLFLOWDBFS = _EnvironmentVariable(\"DISABLE_MLFLOWDBFS\", str, None)\n\n#: Specifies the S3 endpoint URL to use for S3 artifact operations.\n#: (default: ``None``)\nMLFLOW_S3_ENDPOINT_URL = _EnvironmentVariable(\"MLFLOW_S3_ENDPOINT_URL\", str, None)\n\n#: Specifies whether or not to skip TLS certificate verification for S3 artifact operations.\n#: (default: ``False``)\nMLFLOW_S3_IGNORE_TLS = _BooleanEnvironmentVariable(\"MLFLOW_S3_IGNORE_TLS\", False)\n\n#: Specifies extra arguments for S3 artifact uploads.\n#: (default: ``None``)\nMLFLOW_S3_UPLOAD_EXTRA_ARGS = _EnvironmentVariable(\"MLFLOW_S3_UPLOAD_EXTRA_ARGS\", str, None)\n\n#: Specifies the location of a Kerberos ticket cache to use for HDFS artifact operations.\n#: (default: ``None``)\nMLFLOW_KERBEROS_TICKET_CACHE = _EnvironmentVariable(\"MLFLOW_KERBEROS_TICKET_CACHE\", str, None)\n\n#: Specifies a Kerberos user for HDFS artifact operations.\n#: (default: ``None``)\nMLFLOW_KERBEROS_USER = _EnvironmentVariable(\"MLFLOW_KERBEROS_USER\", str, None)\n\n#: Specifies extra pyarrow configurations for HDFS artifact operations.\n#: (default: ``None``)\nMLFLOW_PYARROW_EXTRA_CONF = _EnvironmentVariable(\"MLFLOW_PYARROW_EXTRA_CONF\", str, None)\n\n#: Specifies the ``pool_size`` parameter to use for ``sqlalchemy.create_engine`` in the SQLAlchemy\n#: tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_size\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_POOL_SIZE = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_POOL_SIZE\", int, None\n)\n\n#: Specifies the ``pool_recycle`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_recycle\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_POOL_RECYCLE = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_POOL_RECYCLE\", int, None\n)\n\n#: Specifies the ``max_overflow`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.max_overflow\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_MAX_OVERFLOW = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_MAX_OVERFLOW\", int, None\n)\n\n#: Specifies the ``echo`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.echo\n#: for more information.\n#: (default: ``False``)\nMLFLOW_SQLALCHEMYSTORE_ECHO = _BooleanEnvironmentVariable(\"MLFLOW_SQLALCHEMYSTORE_ECHO\", False)\n\n#: Specifies the ``poolclass`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.poolclass\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_POOLCLASS = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_POOLCLASS\", str, None\n)\n\n#: Specifies the ``timeout_seconds`` for MLflow Model dependency inference operations.\n#: (default: ``120``)\nMLFLOW_REQUIREMENTS_INFERENCE_TIMEOUT = _EnvironmentVariable(\n    \"MLFLOW_REQUIREMENTS_INFERENCE_TIMEOUT\", int, 120\n)\n", "path": "mlflow/environment_variables.py"}], "after_files": [{"content": "\"\"\"\nThis module defines environment variables used in MLflow.\n\"\"\"\nimport os\n\n\nclass _EnvironmentVariable:\n    \"\"\"\n    Represents an environment variable.\n    \"\"\"\n\n    def __init__(self, name, type_, default):\n        self.name = name\n        self.type = type_\n        self.default = default\n\n    @property\n    def is_defined(self):\n        return self.name in os.environ\n\n    def get(self):\n        \"\"\"\n        Reads the value of the environment variable if it exists and converts it to the desired\n        type. Otherwise, returns the default value.\n        \"\"\"\n        val = os.getenv(self.name)\n        if val:\n            try:\n                return self.type(val)\n            except Exception as e:\n                raise ValueError(f\"Failed to convert {val} to {self.type} for {self.name}: {e}\")\n        return self.default\n\n    def __str__(self):\n        return f\"{self.name} (default: {self.default}, type: {self.type.__name__})\"\n\n    def __repr__(self):\n        return repr(self.name)\n\n\nclass _BooleanEnvironmentVariable(_EnvironmentVariable):\n    \"\"\"\n    Represents a boolean environment variable.\n    \"\"\"\n\n    def __init__(self, name, default):\n        # `default not in [True, False, None]` doesn't work because `1 in [True]`\n        # (or `0 in [False]`) returns True.\n        if not (default is True or default is False or default is None):\n            raise ValueError(f\"{name} default value must be one of [True, False, None]\")\n        super().__init__(name, bool, default)\n\n    def get(self):\n        if not self.is_defined:\n            return self.default\n\n        val = os.getenv(self.name)\n        lowercased = val.lower()\n        if lowercased not in [\"true\", \"false\", \"1\", \"0\"]:\n            raise ValueError(\n                f\"{self.name} value must be one of ['true', 'false', '1', '0'] (case-insensitive), \"\n                f\"but got {val}\"\n            )\n        return lowercased in [\"true\", \"1\"]\n\n\n#: Specifies the ``dfs_tmpdir`` parameter to use for ``mlflow.spark.save_model``,\n#: ``mlflow.spark.log_model`` and ``mlflow.spark.load_model``. See\n#: https://www.mlflow.org/docs/latest/python_api/mlflow.spark.html#mlflow.spark.save_model\n#: for more information.\n#: (default: ``/tmp/mlflow``)\nMLFLOW_DFS_TMP = _EnvironmentVariable(\"MLFLOW_DFS_TMP\", str, \"/tmp/mlflow\")\n\n#: Specifies the maximum number of retries for MLflow HTTP requests\n#: (default: ``5``)\nMLFLOW_HTTP_REQUEST_MAX_RETRIES = _EnvironmentVariable(\"MLFLOW_HTTP_REQUEST_MAX_RETRIES\", int, 5)\n\n#: Specifies the backoff increase factor between MLflow HTTP request failures\n#: (default: ``2``)\nMLFLOW_HTTP_REQUEST_BACKOFF_FACTOR = _EnvironmentVariable(\n    \"MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR\", int, 2\n)\n\n#: Specifies the timeout in seconds for MLflow HTTP requests\n#: (default: ``120``)\nMLFLOW_HTTP_REQUEST_TIMEOUT = _EnvironmentVariable(\"MLFLOW_HTTP_REQUEST_TIMEOUT\", int, 120)\n\n#: Specifies whether MLFlow HTTP requests should be signed using AWS signature V4. It will overwrite\n#: (default: ``False``). When set, it will overwrite the \"Authorization\" HTTP header.\n#: See https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information.\nMLFLOW_TRACKING_AWS_SIGV4 = _BooleanEnvironmentVariable(\"MLFLOW_TRACKING_AWS_SIGV4\", False)\n\n#: Specifies the chunk size to use when downloading a file from GCS\n#: (default: ``None``). If None, the chunk size is automatically determined by the\n#: ``google-cloud-storage`` package.\nMLFLOW_GCS_DOWNLOAD_CHUNK_SIZE = _EnvironmentVariable(\"MLFLOW_GCS_DOWNLOAD_CHUNK_SIZE\", int, None)\n\n#: Specifies the chunk size to use when uploading a file to GCS.\n#: (default: ``None``). If None, the chunk size is automatically determined by the\n#: ``google-cloud-storage`` package.\nMLFLOW_GCS_UPLOAD_CHUNK_SIZE = _EnvironmentVariable(\"MLFLOW_GCS_UPLOAD_CHUNK_SIZE\", int, None)\n\n#: Specifies the default timeout to use when downloading/uploading a file from/to GCS\n#: (default: ``None``). If None, ``google.cloud.storage.constants._DEFAULT_TIMEOUT`` is used.\nMLFLOW_GCS_DEFAULT_TIMEOUT = _EnvironmentVariable(\"MLFLOW_GCS_DEFAULT_TIMEOUT\", int, None)\n\n#: Specifies whether to disable model logging and loading via mlflowdbfs.\n#: (default: ``None``)\n_DISABLE_MLFLOWDBFS = _EnvironmentVariable(\"DISABLE_MLFLOWDBFS\", str, None)\n\n#: Specifies the S3 endpoint URL to use for S3 artifact operations.\n#: (default: ``None``)\nMLFLOW_S3_ENDPOINT_URL = _EnvironmentVariable(\"MLFLOW_S3_ENDPOINT_URL\", str, None)\n\n#: Specifies whether or not to skip TLS certificate verification for S3 artifact operations.\n#: (default: ``False``)\nMLFLOW_S3_IGNORE_TLS = _BooleanEnvironmentVariable(\"MLFLOW_S3_IGNORE_TLS\", False)\n\n#: Specifies extra arguments for S3 artifact uploads.\n#: (default: ``None``)\nMLFLOW_S3_UPLOAD_EXTRA_ARGS = _EnvironmentVariable(\"MLFLOW_S3_UPLOAD_EXTRA_ARGS\", str, None)\n\n#: Specifies the location of a Kerberos ticket cache to use for HDFS artifact operations.\n#: (default: ``None``)\nMLFLOW_KERBEROS_TICKET_CACHE = _EnvironmentVariable(\"MLFLOW_KERBEROS_TICKET_CACHE\", str, None)\n\n#: Specifies a Kerberos user for HDFS artifact operations.\n#: (default: ``None``)\nMLFLOW_KERBEROS_USER = _EnvironmentVariable(\"MLFLOW_KERBEROS_USER\", str, None)\n\n#: Specifies extra pyarrow configurations for HDFS artifact operations.\n#: (default: ``None``)\nMLFLOW_PYARROW_EXTRA_CONF = _EnvironmentVariable(\"MLFLOW_PYARROW_EXTRA_CONF\", str, None)\n\n#: Specifies the ``pool_size`` parameter to use for ``sqlalchemy.create_engine`` in the SQLAlchemy\n#: tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_size\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_POOL_SIZE = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_POOL_SIZE\", int, None\n)\n\n#: Specifies the ``pool_recycle`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_recycle\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_POOL_RECYCLE = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_POOL_RECYCLE\", int, None\n)\n\n#: Specifies the ``max_overflow`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.max_overflow\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_MAX_OVERFLOW = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_MAX_OVERFLOW\", int, None\n)\n\n#: Specifies the ``echo`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.echo\n#: for more information.\n#: (default: ``False``)\nMLFLOW_SQLALCHEMYSTORE_ECHO = _BooleanEnvironmentVariable(\"MLFLOW_SQLALCHEMYSTORE_ECHO\", False)\n\n#: Specifies the ``poolclass`` parameter to use for ``sqlalchemy.create_engine`` in the\n#: SQLAlchemy tracking store. See https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.poolclass\n#: for more information.\n#: (default: ``None``)\nMLFLOW_SQLALCHEMYSTORE_POOLCLASS = _EnvironmentVariable(\n    \"MLFLOW_SQLALCHEMYSTORE_POOLCLASS\", str, None\n)\n\n#: Specifies the ``timeout_seconds`` for MLflow Model dependency inference operations.\n#: (default: ``120``)\nMLFLOW_REQUIREMENTS_INFERENCE_TIMEOUT = _EnvironmentVariable(\n    \"MLFLOW_REQUIREMENTS_INFERENCE_TIMEOUT\", int, 120\n)\n", "path": "mlflow/environment_variables.py"}]}