class_docstr: Class used to define Plugins loaded from entrypoint.
class_docstr_tok: ["Class","used","to","define","Plugins","loaded","from","entrypoint","."]
code: def __init__(
      self,
      entrypoint: importlib_metadata.EntryPoint,
      dist: importlib_metadata.Distribution,
  ):
      self.dist = dist.metadata["Name"]
      self.version = dist.version
      self.entrypoint = str(entrypoint)
  
imports: from __future__ import annotations
  import importlib
  import importlib.machinery
  import importlib.util
  import inspect
  import logging
  import os
  import sys
  import types
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Iterable
  from airflow import settings
  from airflow.utils.entry_points import entry_points_with_dist
  from airflow.utils.file import find_path_from_directory
  from airflow.utils.module_loading import import_string, qualname
label_desc: Use image node_id 1 to create a new EntryPointSource object from inherited base classes: AirflowPluginSource with example: obj = EntryPointSource(entrypoint, dist)