class_docstr: Instrument interface.
class_docstr_tok: ["Instrument","interface","."]
docstr: Creates a dict of batchable protos.
  
  For a list of protos, generates a dictionary `{key: grouped_protos}` such
  that the `grouped_protos` can be batched together.
  
  Args:
    proto_list: A list of `Instrument` protos.
    **kwargs: Any extra arguments. E.g., pricing configuration.
  
  Returns:
    A dictionary of grouped protos.
docstr_tok: ["Creates","a","dict","of","batchable","protos",".","For","a","list","of","protos",",","generates","a","dictionary","`","{","key",":","grouped_protos","}","`","such","that","the","`","grouped_protos","`","can","be","batched","together",".","Args",":","proto_list",":","A","list","of","`","Instrument","`","protos",".","*","*","kwargs",":","Any","extra","arguments",".","E.g.",",","pricing","configuration",".","Returns",":","A","dictionary","of","grouped","protos","."]
code: def group_protos(
      cls, proto_list: List[types.ProtobufBaseType], **kwargs
  ) -> Dict[str, List[types.ProtobufBaseType]]:
      """Creates a dict of batchable protos.
  
      For a list of protos, generates a dictionary `{key: grouped_protos}` such
      that the `grouped_protos` can be batched together.
  
      Args:
        proto_list: A list of `Instrument` protos.
        **kwargs: Any extra arguments. E.g., pricing configuration.
  
      Returns:
        A dictionary of grouped protos.
      """
      del proto_list, kwargs
      return []
  
file_path: tf-quant-finance/tf_quant_finance/experimental/pricing_platform/framework/core/instrument.py
imports: import abc
  from typing import Any, Dict, List
  import tensorflow.compat.v2
  from tf_quant_finance.experimental.pricing_platform.framework.core import processed_market_data
  from tf_quant_finance.experimental.pricing_platform.framework.core import types
label_desc: Use image node_id 3 for calling the Instrument obj's underlying member method code with example usage: obj.group_protos(cls, proto_list) and returns: list