sob/utilities/inspect.py
def properties_values(
    object_: object, include_private: bool = False
) -> Iterable[Tuple[str, Any]]:
    """
    This function iterates over an object's public (non-callable)
    properties, yielding a tuple comprised of each attribute/property name and
    value
    """
    for attribute in dir(object_):
        if include_private or attribute[0] != "_":
            value = getattr(object_, attribute, lambda: None)
            if not callable(value):
                yield attribute, value

    This function iterates over an object's public (non-callable)
    properties, yielding a tuple comprised of each attribute/property name and
    value
    
This function iterates over an object's public (non-callable)
properties, yielding a tuple comprised of each attribute/property name and
value
This function iterates over an object ' s public ( non - callable ) properties yielding a tuple comprised of each attribute / property name and value
def properties_values(
    object_: object, include_private: bool = False
) -> Iterable[Tuple[str, Any]]:
    for attribute in dir(object_):
        if include_private or attribute[0] != "_":
            value = getattr(object_, attribute, lambda: None)
            if not callable(value):
                yield attribute, value
def properties_values ( object_ : object , include_private : bool = False ) -> Iterable [ Tuple [ str , Any ] ] : for attribute in dir ( object_ ) : if include_private or attribute [ 0 ] != "_" : value = getattr ( object_ , attribute , lambda : None ) if not callable ( value ) : yield attribute , value
This function iterates over an object's public (non-callable)
properties, yielding a tuple comprised of each attribute/property name and
value
This function iterates over an object ' s public ( non - callable ) properties yielding a tuple comprised of each attribute / property name and value
"""
    This function iterates over an object's public (non-callable)
    properties, yielding a tuple comprised of each attribute/property name and
    value
    """
object_
object
include_private
bool