(path: str)
Extracts attribute name from dotted path.
Extracts attribute name from dotted path.
Extracts attribute name from dotted path .
def _parse_dotted_path(path: str) -> Tuple[Optional[str], str]:
        """
        Extracts attribute name from dotted path.
        """
        try:
            objects, attr = path.rsplit(".", 1)
            return objects, attr
        except ValueError:
            return None, path
def _parse_dotted_path ( path : str ) -> Tuple [ Optional [ str ] , str ] : try : objects , attr = path . rsplit ( "." , 1 ) return objects , attr except ValueError : return None , path