def python ( string : str ) : return underscore ( singularize ( string ) if Naming . _pluralize ( string ) else string )
python calling function with underscore
: param string : String can be type resource or python case
def python(string: str):
        """
            :param string: String can be type, resource or python case
        """
        return underscore(singularize(string) if Naming._pluralize(string) else string)