PTypeInfo

A utility class to convert PType class name to a string

class bigflow.util.ptype_info.PTypeInfo(pvalue)

基类:object

A utility to keep class type of a PType and store its class name in its type attribute

参数:pvalue (PType) — PType instance
  1. >>> _pobject = _pipeline.parallelize("A")
  2. >>> print PTypeInfo(_pobject)
  3. >>> "PObject"