class_docstr: Represents the source of a dataset stored at a web location and referred to
  by an HTTP or HTTPS URL.
class_docstr_tok: ["Represents","the","source","of","a","dataset","stored","at","a","web","location","and","referred","to","by","an","HTTP","or","HTTPS","URL","."]
docstr: Args:
      source_dict: A dictionary representation of the HTTPDatasetSource.
docstr_tok: ["Args",":","source_dict",":","A","dictionary","representation","of","the","HTTPDatasetSource","."]
code: def _from_dict(
      cls, source_dict: Dict[Any, Any]
  ) -> "HTTPDatasetSource":
      """
      Args:
          source_dict: A dictionary representation of the HTTPDatasetSource.
      """
      url = source_dict.get("url")
      if url is None:
          raise MlflowException(
              'Failed to parse HTTPDatasetSource. Missing expected key: "url"',
              INVALID_PARAMETER_VALUE,
          )
  
      return cls(url=url)
  
imports: import os
  import re
  from typing import Any, Dict
  from urllib.parse import urlparse
  from mlflow.data.dataset_source import DatasetSource
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.utils.file_utils import create_tmp_dir
  from mlflow.utils.rest_utils import augmented_raise_for_status, cloud_storage_http_request
label_desc: Use image node_id 9 for calling the HTTPDatasetSource obj's underlying member method code with example usage: obj._from_dict(cls, source_dict) and returns: cls