class_docstr: Wrapper for seqio.TaskRegistry for backward-compatibility.
  
  Shares a registry with seqio.TaskRegistry.
class_docstr_tok: ["Wrapper","for","seqio.TaskRegistry","for","backward-compatibility",".","Shares","a","registry","with","seqio.TaskRegistry","."]
code: def add(
      cls, name: str, task_cls=FunctionTask, **kwargs
  ) -> seqio.Task:
      provider = task_cls(name, **kwargs)
      super().add_provider(name, provider)
      return provider
  
imports: from collections.abc import Mapping
  import re
  import seqio
  from t5.data import utils
  import tensorflow.compat.v2
label_desc: Use image node_id 1 for calling the TaskRegistry obj's underlying member method code with example usage: obj.add(cls, name, task_cls) and returns: provider