10000 Merge pull request #864 from tableau/development · bossenti/server-client-python@1d8a9be · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d8a9be

Browse files
authored
Merge pull request tableau#864 from tableau/development
Merging Development to Main branch
2 parents 5cbfc34 + 770d48a commit 1d8a9be

File tree

85 files changed

+3411
-1843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+3411
-1843
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
pip install -e .[test]
26-
27-
- name: Lint with pycodestyle
28-
run: |
29-
pycodestyle tableauserverclient test samples
26+
pip install mypy
3027
3128
- name: Test with pytest
3229
run: |
3330
pytest test
31+
32+
- name: Run Mypy but allow failures
33+
run: |
34+
mypy --show-error-codes --disable-error-code misc tableauserverclient
35+
continue-on-error: true

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.16.0 (15 July 2021)
2+
* Documentation updates (#800, #818, #839, #842)
3+
* Fixed data alert repr in subscription item (#821)
4+
* Added support for Data Quality Warning (#836)
5+
* Added support for renaming datasources (#843)
6+
* Improved Datasource tests (#843)
7+
* Updated catalog obfuscation field (#844)
8+
* Fixed revision limit field in site_item.py file (#847)
9+
* Added the Missing content permission field- LockedToProjectWithoutNested (#856)
10+
111
## 0.15.0 (16 Feb 2021)
212
* Added support for python version 3.9 (#744)
313
* Added support for 'Get View by ID' (#750)

CONTRIBUTORS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ The following people have contributed to this project to make it possible, and w
4444
* [Terrence Jones](https://github.com/tjones-commits)
4545
* [John Vandenberg](https://github.com/jayvdb)
4646
* [Lee Boynton](https://github.com/lboynton)
47+
* [annematronic](https://github.com/annematronic)
4748

4849
## Core Team
4950

@@ -57,3 +58,4 @@ The following people have contributed to this project to make it possible, and w
5758
* [Jac Fitzgerald](https://github.com/jacalata)
5859
* [Dan Zucker](https://github.com/dzucker-tab)
5960
* [Brian Cantoni](https://github.com/bcantoni)
61+
* [Ovini Nanayakkara](https://github.com/ovinis)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tableau Server Client (Python)
22

3-
[![Tableau Supported](https://img.shields.io/badge/Support%20Level-Tableau%20Supported-53bd92.svg)](https://www.tableau.com/support-levels-it-and-developer-tools) [![Build Status](https://travis-ci.org/tableau/server-client-python.svg?branch=master)](https://travis-ci.org/tableau/server-client-python)
3+
[![Tableau Supported](https://img.shields.io/badge/Support%20Level-Tableau%20Supported-53bd92.svg)](https://www.tableau.com/support-levels-it-and-developer-tools) [![Build Status](https://github.com/tableau/server-client-python/actions/workflows/run-tests.yml/badge.svg)](https://github.com/tableau/server-client-python/actions)
44

55
Use the Tableau Server Client (TSC) library to increase your productivity as you interact with the Tableau Server REST API. With the TSC library you can do almost everything that you can do with the REST API, including:
66

contributing.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,9 @@ python setup.py test
6767
Our CI runs include a Python lint run, so you should run this locally and fix complaints before committing as this will fail your checkin.
6868

6969
```shell
70-
pycodestyle tableauserverclient test samples
70+
# this will run the formatter without making changes
71+
black --line-length 120 tableauserverclient --check
72+
73+
# this will format the directory and code for you
74+
black --line-length 120 tableauserverclient
7175
```

tableauserverclient/__init__.py

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,55 @@
11
from .namespace import NEW_NAMESPACE as DEFAULT_NAMESPACE
2-
from .models import ConnectionCredentials, ConnectionItem, DataAlertItem, DatasourceItem,\
3-
GroupItem, JobItem, BackgroundJobItem, PaginationItem, ProjectItem, ScheduleItem,\
4-
SiteItem, TableauAuth, PersonalAccessTokenAuth, UserItem, ViewItem, WorkbookItem, UnpopulatedPropertyError,\
5-
HourlyInterval, DailyInterval, WeeklyInterval, MonthlyInterval, IntervalItem, TaskItem,\
6-
SubscriptionItem, Target, PermissionsRule, Permission, DatabaseItem, TableItem, ColumnItem, FlowItem, \
7-
WebhookItem, PersonalAccessTokenAuth
8-
from .server import RequestOptions, CSVRequestOptions, ImageRequestOptions, PDFRequestOptions, Filter, Sort, \
9-
Server, ServerResponseError, MissingRequiredFieldError, NotSignedInError, Pager
2+
from .models import (
3+
ConnectionCredentials,
4+
ConnectionItem,
5+
DataAlertItem,
6+
DatasourceItem,
7+
DQWItem,
8+
GroupItem,
9+
JobItem,
10+
BackgroundJobItem,
11+
PaginationItem,
12+
ProjectItem,
13+
ScheduleItem,
14+
SiteItem,
15+
TableauAuth,
16+
PersonalAccessTokenAuth,
17+
UserItem,
18+
ViewItem,
19+
WorkbookItem,
20+
UnpopulatedPropertyError,
21+
HourlyInterval,
22+
DailyInterval,
23+
WeeklyInterval,
24+
MonthlyInterval,
25+
IntervalItem,
26+
TaskItem,
27+
SubscriptionItem,
28+
Target,
29+
PermissionsRule,
30+
Permission,
31+
DatabaseItem,
32+
TableItem,
33+
ColumnItem,
34+
FlowItem,
35+
WebhookItem,
36+
PersonalAccessTokenAuth,
37+
)
38+
from .server import (
39+
RequestOptions,
40+
CSVRequestOptions,
41+
ImageRequestOptions,
42+
PDFRequestOptions,
43+
Filter,
44+
Sort,
45+
Server,
46+
ServerResponseError,
47+
MissingRequiredFieldError,
48+
NotSignedInError,
49+
Pager,
50+
)
1051
from ._version import get_versions
11-
__version__ = get_versions()['version']
52+
53+
__version__ = get_versions()["version"]
1254
__VERSION__ = __version__
1355
del get_versions

0 commit comments

Comments
 (0)
0