mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Update the docstring on rewrite_long_table_names.
This commit is contained in:
parent
0c8aadc53c
commit
5ddbee886f
1 changed files with 1 additions and 6 deletions
|
@ -2,12 +2,7 @@ from pokedex.db import metadata
|
||||||
|
|
||||||
### Helper functions for oracle
|
### Helper functions for oracle
|
||||||
def rewrite_long_table_names():
|
def rewrite_long_table_names():
|
||||||
"""Modifies the table names to disenvowel long table names.
|
"""Disemvowels all table names over thirty characters."""
|
||||||
Takes the metadata from memory or uses the imported one.
|
|
||||||
|
|
||||||
Returns a dictionary matching short names -> long names.
|
|
||||||
"""
|
|
||||||
|
|
||||||
# Load tables from metadata
|
# Load tables from metadata
|
||||||
table_objs = metadata.tables.values()
|
table_objs = metadata.tables.values()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue