Skip to content

Commit 9a098a7

Browse files
author
Russell Hay
authored
Merge pull request #78 from tableau/development
Release 0.3
2 parents bcd73c1 + 7078177 commit 9a098a7

26 files changed

+355
-39
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ script:
1616
# pep8
1717
- pep8 .
1818
# Examples
19-
- (cd "Examples/Replicate Workbook" && python replicateWorkbook.py)
20-
- (cd "Examples/List TDS Info" && python listTDSInfo.py)
21-
- (cd "Examples/GetFields" && python show_fields.py)
19+
- (cd "samples/replicate-workbook" && python replicate_workbook.py)
20+
- (cd "samples/list-tds-info" && python list_tds_info.py)
21+
- (cd "samples/show-fields" && python show_fields.py)
2222

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.3 (31 August 2016)
2+
3+
* Added basic connection class retargeting (#65)
4+
* Added ability to create a new connection (#69)
5+
* Added description to the field object (#73)
6+
* Improved Test Coverage (#62, #67)
7+
18
## 0.2 (22 July 2016)
29

310
* Added support for loading twbx and tdsx files (#43, #44)

Examples/GetFields/World.tds

Lines changed: 0 additions & 1 deletion
This file was deleted.

Examples/List TDS Info/listTDSInfo.py renamed to samples/list-tds-info/list_tds_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
############################################################
77
# Step 2) Open the .tds we want to replicate
88
############################################################
9-
sourceTDS = Datasource.from_file('World.tds')
9+
sourceTDS = Datasource.from_file('world.tds')
1010

1111
############################################################
1212
# Step 3) List out info from the TDS
File renamed without changes.

Examples/Replicate Workbook/replicateWorkbook.py renamed to samples/replicate-workbook/replicate_workbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
############################################################
99
# Step 2) Open the .twb we want to replicate
1010
############################################################
11-
sourceWB = Workbook('Sample - Superstore.twb')
11+
sourceWB = Workbook('sample-superstore.twb')
1212

1313
############################################################
1414
# Step 3) Use a database list (in CSV), loop thru and

Examples/GetFields/show_fields.py renamed to samples/show-fields/show_fields.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
############################################################
77
# Step 2) Open the .tds we want to inspect
88
############################################################
9-
sourceTDS = Datasource.from_file('World.tds')
9+
sourceTDS = Datasource.from_file('world.tds')
1010

1111
############################################################
1212
# Step 3) Print out all of the fields and what type they are
@@ -23,6 +23,8 @@
2323
if field.default_aggregation:
2424
print(' the default aggregation is {}'.format(field.default_aggregation))
2525
blank_line = True
26+
if field.description:
27+
print(' the description is {}'.format(field.description))
2628

2729
if blank_line:
2830
print('')

samples/show-fields/world.tds

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../list-tds-info/world.tds

0 commit comments

Comments
 (0)