docstr: Registers dataset sources defined as Python entrypoints. For reference, see
  https://mlflow.org/docs/latest/plugins.html#defining-a-plugin.
docstr_tok: ["Registers","dataset","sources","defined","as","Python","entrypoints",".","For","reference",",","see","https",":","\/\/mlflow.org\/docs\/latest\/plugins.html","#","defining-a-plugin","."]
code: def register_entrypoints(self):
      """
      Registers dataset sources defined as Python entrypoints. For reference, see
      https://mlflow.org/docs/latest/plugins.html#defining-a-plugin.
      """
      for entrypoint in entrypoints.get_group_all(
          "mlflow.dataset_constructor"
      ):
          try:
              self.register_constructor(
                  constructor_fn=entrypoint.load(),
                  constructor_name=entrypoint.name,
              )
          except Exception as exc:
              warnings.warn(
                  f"Failure attempting to register dataset constructor"
                  f' "{entrypoint.name}": {exc}.',
                  stacklevel=2,
              )
  
file_path: mlflow/mlflow/data/dataset_registry.py
imports: import inspect
  import warnings
  from contextlib import suppress
  from typing import Dict, Optional
  import entrypoints
  import mlflow.data
  from mlflow.data.dataset import Dataset
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
label_desc: Use image node_id 3 for calling the DatasetRegistry obj's underlying member method code with example usage: obj.register_entrypoints() without return types