-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1cdaaeb
commit 02bbad4
Showing
4 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
class DBSummary: | ||
def __init__(self, name): | ||
self.name = name | ||
self.summery = None | ||
self.summary = None | ||
self.tables = [] | ||
self.metadata = str | ||
|
||
def get_summery(self): | ||
return self.summery | ||
def get_summary(self): | ||
return self.summary | ||
|
||
|
||
class TableSummary: | ||
def __init__(self, name): | ||
self.name = name | ||
self.summery = None | ||
self.summary = None | ||
self.fields = [] | ||
self.indexes = [] | ||
|
||
|
||
class FieldSummary: | ||
def __init__(self, name): | ||
self.name = name | ||
self.summery = None | ||
self.summary = None | ||
self.data_type = None | ||
|
||
|
||
class IndexSummary: | ||
def __init__(self, name): | ||
self.name = name | ||
self.summery = None | ||
self.summary = None | ||
self.bind_fields = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters