INNER CODE UNIT · Python

SyntheticDisplayBase

mongodb/mongo-c-driver · lldb_bson.py:187

class SyntheticDisplayBase(Generic[T], SBSyntheticValueProvider, metaclass=_SyntheticMeta):
    __abstract__: ClassVar[bool] = True
    'If true, disables metaclass checks'

    __summary_str__: ClassVar[str | None] = None
    "Set to an LLDB '--summary-string' formatting string for rendering the inline value summary"
    __enable_synthetic__: ClassVar[bool] = True
    'If False, do not generate synthetic children (used for primitive values)'

    if TYPE_CHECKING:
        __typename__: ClassVar[str]
        """
        The (regular expression) name of the type that is handled by this class.
        This is a required class attribute.
        """

        @classmethod
        def __summary__(cls, value: SBValue, idict: InternalDict) -> str:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…