code: def get_data_view_uri(examples: types.Artifact) -> Optional[str]:
      """Returns the URI to the DataView attached to an Examples artifact.
  
      Or None, if not attached.
  
      Args:
        examples: an Examples artifact.
      Returns:
        The URI to the DataView or None.
      """
      assert (
          examples.type is standard_artifacts.Examples
      ), "examples must be of type standard_artifacts.Examples"
      data_view_uri = examples.get_string_custom_property(
          constants.DATA_VIEW_URI_PROPERTY_KEY
      )
      return data_view_uri if data_view_uri else None
  
imports: from typing import Optional
  from tfx import types
  from tfx.components.experimental.data_view import constants
  from tfx.types import standard_artifacts
label_desc: Use image node_id 1 for calling a global function with example usage: get_data_view_uri(examples) and returns: unknown