コード例 #1
0
"""OpenLibrary schema."""
from openlibrary.core.schema import get_schema

if __name__ == "__main__":
    print get_schema().sql()
コード例 #2
0
ファイル: oldump.py プロジェクト: yzou/openlibrary
 def __init__(self, dirname):
     self.dirname = dirname
     self.index_engine = IndexUtil(db, schema.get_schema())
コード例 #3
0
ファイル: schema.py プロジェクト: milotype/openlibrary
"""OpenLibrary schema."""
from openlibrary.core.schema import get_schema

if __name__ == "__main__":
    print(get_schema().sql())
コード例 #4
0
ファイル: schema.py プロジェクト: hornc/openlibrary-1
"""OpenLibrary schema."""
from __future__ import print_function
from openlibrary.core.schema import get_schema

if __name__ == "__main__":
    print(get_schema().sql())