MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / IsBlockInfo

Method IsBlockInfo

steps/cpplint.py:2748–2757  ·  view source on GitHub ↗

Returns true if this block is a _BlockInfo. This is convenient for verifying that an object is an instance of a _BlockInfo, but not an instance of any of the derived classes. Returns: True for this class, False for derived classes.

(self)

Source from the content-addressed store, hash-verified

2746 pass
2747
2748 def IsBlockInfo(self):
2749 """Returns true if this block is a _BlockInfo.
2750
2751 This is convenient for verifying that an object is an instance of
2752 a _BlockInfo, but not an instance of any of the derived classes.
2753
2754 Returns:
2755 True for this class, False for derived classes.
2756 """
2757 return self.__class__ == _BlockInfo
2758
2759
2760class _ExternCInfo(_BlockInfo):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected