def table_to_cap_words_singular(table_name): ''' Table name to CapWord singular.''' retval = name_translations.depluralize(table_name) return retval
def table_to_cap_words_singular(table_name): """ Convert a table name to its CapWord singular equivalent.""" retval = name_translations.depluralize( name_translations.SQL_to_CapitalizedWords(table_name)) return retval
def table_to_py_singular(table_name): ''' Table name to python singular.''' retval = \ name_translations.depluralize( name_translations.CapitalizedWords_to_py_name(table_name)) return retval
def table_to_py_singular(table_name): """ Convert a table name to its singular python name.""" retval = name_translations.depluralize(table_name.lower()) return retval