GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #78 from tableau/development · jassey/document-api-python@9a098a7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .travis.yml
  • CHANGELOG.md
  • Examples/GetFields
    • World.tds
  • samples
    • list-tds-info
      • list_tds_info.py
      • world.tds
    • replicate-workbook
      • databases.csv
      • replicate_workbook.py
      • sample-superstore.twb
    • show-fields
      • show_fields.py
      • world.tds
  • setup.py
  • tableaudocumentapi
    • connection.py
    • datasource.py
    • dbclass.py
    • field.py
    • multilookup_dict.py
    • workbook.py
    • xfile.py
  • test
    • assets
      • BadZip.zip
      • TABLEAU_82_TWB.twb
      • datasource_test.tds
    • bvt.py
    • test_datasource.py
    • test_field.py
    • test_multidict.py
    • test_xfile.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.travis.yml‎

Copy file name to clipboardExpand all lines: .travis.yml
+3-3Lines 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

Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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)
Collapse file

‎Examples/GetFields/World.tds‎

Copy file name to clipboardExpand all lines: Examples/GetFields/World.tds
-1Lines changed: 0 additions & 1 deletion
This file was deleted.
Collapse file

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

Copy file name to clipboardExpand all lines: samples/list-tds-info/list_tds_info.py
+1-1Lines 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
Collapse file

‎Examples/List TDS Info/World.tds‎ ‎samples/list-tds-info/world.tds‎Examples/List TDS Info/World.tds renamed to samples/list-tds-info/world.tds

Copy file name to clipboard
File renamed without changes.
Collapse file

‎Examples/Replicate Workbook/databases.csv‎ ‎samples/replicate-workbook/databases.csv‎Examples/Replicate Workbook/databases.csv renamed to samples/replicate-workbook/databases.csv

Copy file name to clipboard
File renamed without changes.
Collapse file

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

Copy file name to clipboardExpand all lines: samples/replicate-workbook/replicate_workbook.py
+1-1Lines 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
Collapse file

‎…plicate Workbook/Sample - Superstore.twb‎ ‎…replicate-workbook/sample-superstore.twb‎Examples/Replicate Workbook/Sample - Superstore.twb renamed to samples/replicate-workbook/sample-superstore.twb Examples/Replicate Workbook/Sample - Superstore.twb renamed to samples/replicate-workbook/sample-superstore.twb

Copy file name to clipboard
File renamed without changes.
Collapse file

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

Copy file name to clipboardExpand all lines: samples/show-fields/show_fields.py
+3-1Lines 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('')
Collapse file

‎samples/show-fields/world.tds‎

Copy file name to clipboard
+1Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.