INNER CODE UNIT · Python
value
mongodb/mongo-c-driver · lldb_bson.py:243
def value(self) -> T:
"""Obtain the decoded BSON value"""
if self.__value is None:
self.__value = self.__parse__(self.sbvalue)
return self.__value
@property
def address(self) -> int:
"""Obtain the memory address of the associated object"""
return self.sbvalue.load_addr
@print_errors
@override
def update(self) -> bool | None:
"""Update the parsed value and the child objects"""
self.__value = None # Clear the value so it will be re-read
self.__children = list(self.get_children())