(obj: Model, dotted_path: str = None)
return obj
For given object return innermost object.
For given object return innermost object.
For given object return innermost object .
def _get_innermost_object(obj: Model, dotted_path: str = None) -> Model:
        """
        For given object return innermost object.
        """
        if dotted_path is None:
            return obj
        for o in dotted_path.split("."):
            obj = getattr(obj, o)
        return obj
def _get_innermost_object ( obj : Model , dotted_path : str = None ) -> Model : if dotted_path is None : return obj for o in dotted_path . split ( "." ) : obj = getattr ( obj , o ) return obj