mimesis/schema.py
def tail_parser(tails: str, obj: Any) -> Any:
            """Return method from end of tail.

            :param tails: Tail string
            :param obj: Search tail from this object
            :return last tailed method
            """
            provider_name, method_name = tails.split(".", 1)

            if "." in method_name:
                raise FieldError(name)

            attr = getattr(obj, provider_name)
            if attr is not None:
                try:
                    return getattr(attr, method_name)
                except AttributeError:
                    raise FieldError(name)
Return method from end of tail.

            :param tails: Tail string
            :param obj: Search tail from this object
            :return last tailed method
            
Return method from end of tail.
Return method from end of tail .
def tail_parser(tails: str, obj: Any) -> Any:
            provider_name, method_name = tails.split(".", 1)
            if "." in method_name:
                raise FieldError(name)
            attr = getattr(obj, provider_name)
            if attr is not None:
                try:
                    return getattr(attr, method_name)
                except AttributeError:
                    raise FieldError(name)
def tail_parser ( tails : str , obj : Any ) -> Any : provider_name , method_name = tails . split ( "." , 1 ) if "." in method_name : raise FieldError ( name ) attr = getattr ( obj , provider_name ) if attr is not None : try : return getattr ( attr , method_name ) except AttributeError : raise FieldError ( name )
Return method from end of tail.
Return method from end of tail .
"""Return method from end of tail.

            :param tails: Tail string
            :param obj: Search tail from this object
            :return last tailed method
            """
tails
str
obj
Any