-
Notifications
You must be signed in to change notification settings - Fork 208
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
Tao feng
committed
Mar 11, 2019
1 parent
3b89a78
commit 545e43c
Showing
3 changed files
with
31 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,7 +1,7 @@ | ||
from setuptools import setup, find_packages | ||
|
||
|
||
__version__ = '1.0.6' | ||
__version__ = '1.0.7' | ||
|
||
|
||
setup( | ||
|
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 |
---|---|---|
|
@@ -11,9 +11,7 @@ def test_serialize(self): | |
# type: () -> None | ||
|
||
col_readers = [ColumnReader(database='db', cluster='gold', schema='scm', table='foo', column='*', | ||
user_email='[email protected]'), | ||
ColumnReader(database='db', cluster='gold', schema='scm', table='bar', column='*', | ||
user_email='[email protected]')] | ||
user_email='[email protected]')] | ||
table_col_usage = TableColumnUsage(col_readers=col_readers) | ||
|
||
node_row = table_col_usage.next_node() | ||
|
@@ -22,14 +20,18 @@ def test_serialize(self): | |
actual.append(node_row) | ||
node_row = table_col_usage.next_node() | ||
|
||
expected = [{'is_active': True, | ||
expected = [{'first_name': '', | ||
'last_name': '', | ||
'full_name': '', | ||
'employee_type': '', | ||
'is_active': True, | ||
'updated_at': 0, | ||
'LABEL': 'User', | ||
'slack_id': '', | ||
'KEY': '[email protected]', | ||
'email': '[email protected]'}, | ||
{'is_active': True, | ||
'LABEL': 'User', | ||
'KEY': '[email protected]', | ||
'email': '[email protected]'}] | ||
'github_username': '', | ||
'team_name': '', | ||
'email': '[email protected]'}] | ||
self.assertEqual(expected, actual) | ||
|
||
rel_row = table_col_usage.next_relation() | ||
|
@@ -39,9 +41,7 @@ def test_serialize(self): | |
rel_row = table_col_usage.next_relation() | ||
|
||
expected = [{'read_count:UNQUOTED': 1, 'END_KEY': '[email protected]', 'START_LABEL': 'Table', | ||
'END_LABEL': 'User', 'START_KEY': 'db://gold.scm/foo', 'TYPE': 'READ_BY', 'REVERSE_TYPE': 'READ'}, | ||
{'read_count:UNQUOTED': 1, 'END_KEY': '[email protected]', 'START_LABEL': 'Table', | ||
'END_LABEL': 'User', 'START_KEY': 'db://gold.scm/bar', 'TYPE': 'READ_BY', 'REVERSE_TYPE': 'READ'}] | ||
'END_LABEL': 'User', 'START_KEY': 'db://gold.scm/foo', 'TYPE': 'READ_BY', 'REVERSE_TYPE': 'READ'}] | ||
self.assertEqual(expected, actual) | ||
|
||
|
||
|
@feng-tao for our designs we're in need of the manager's full name. At the moment we don't show the manager email but it doesn't hurt to keep it. Also would like some more context on the comment below regarding on what pieces we're missing -- I thought everything was available from our HR service.