Skip to content

Commit

Permalink
Merge pull request #864 from tableau/development
Browse files Browse the repository at this point in the history
Merging Development to Main branch
  • Loading branch information
ovinis authored Jul 16, 2021
2 parents 5cbfc34 + 770d48a commit 1d8a9be
Show file tree
Hide file tree
Showing 85 changed files with 3,411 additions and 1,843 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Lint with pycodestyle
run: |
pycodestyle tableauserverclient test samples
pip install mypy
- name: Test with pytest
run: |
pytest test
- name: Run Mypy but allow failures
run: |
mypy --show-error-codes --disable-error-code misc tableauserverclient
continue-on-error: true
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.16.0 (15 July 2021)
* Documentation updates (#800, #818, #839, #842)
* Fixed data alert repr in subscription item (#821)
* Added support for Data Quality Warning (#836)
* Added support for renaming datasources (#843)
* Improved Datasource tests (#843)
* Updated catalog obfuscation field (#844)
* Fixed revision limit field in site_item.py file (#847)
* Added the Missing content permission field- LockedToProjectWithoutNested (#856)

## 0.15.0 (16 Feb 2021)
* Added support for python version 3.9 (#744)
* Added support for 'Get View by ID' (#750)
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The following people have contributed to this project to make it possible, and w
* [Terrence Jones](https://github.com/tjones-commits)
* [John Vandenberg](https://github.com/jayvdb)
* [Lee Boynton](https://github.com/lboynton)
* [annematronic](https://github.com/annematronic)

## Core Team

Expand All @@ -57,3 +58,4 @@ The following people have contributed to this project to make it possible, and w
* [Jac Fitzgerald](https://github.com/jacalata)
* [Dan Zucker](https://github.com/dzucker-tab)
* [Brian Cantoni](https://github.com/bcantoni)
* [Ovini Nanayakkara](https://github.com/ovinis)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tableau Server Client (Python)

[![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)
[![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)

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:

Expand Down
6 changes: 5 additions & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@ python setup.py test
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.

```shell
pycodestyle tableauserverclient test samples
# this will run the formatter without making changes
black --line-length 120 tableauserverclient --check

# this will format the directory and code for you
black --line-length 120 tableauserverclient
```
60 changes: 51 additions & 9 deletions tableauserverclient/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,55 @@
from .namespace import NEW_NAMESPACE as DEFAULT_NAMESPACE
from .models import ConnectionCredentials, ConnectionItem, DataAlertItem, DatasourceItem,\
GroupItem, JobItem, BackgroundJobItem, PaginationItem, ProjectItem, ScheduleItem,\
SiteItem, TableauAuth, PersonalAccessTokenAuth, UserItem, ViewItem, WorkbookItem, UnpopulatedPropertyError,\
HourlyInterval, DailyInterval, WeeklyInterval, MonthlyInterval, IntervalItem, TaskItem,\
SubscriptionItem, Target, PermissionsRule, Permission, DatabaseItem, TableItem, ColumnItem, FlowItem, \
WebhookItem, PersonalAccessTokenAuth
from .server import RequestOptions, CSVRequestOptions, ImageRequestOptions, PDFRequestOptions, Filter, Sort, \
Server, ServerResponseError, MissingRequiredFieldError, NotSignedInError, Pager
from .models import (
ConnectionCredentials,
ConnectionItem,
DataAlertItem,
DatasourceItem,
DQWItem,
GroupItem,
JobItem,
BackgroundJobItem,
PaginationItem,
ProjectItem,
ScheduleItem,
SiteItem,
TableauAuth,
PersonalAccessTokenAuth,
UserItem,
ViewItem,
WorkbookItem,
UnpopulatedPropertyError,
HourlyInterval,
DailyInterval,
WeeklyInterval,
MonthlyInterval,
IntervalItem,
TaskItem,
SubscriptionItem,
Target,
PermissionsRule,
Permission,
DatabaseItem,
TableItem,
ColumnItem,
FlowItem,
WebhookItem,
PersonalAccessTokenAuth,
)
from .server import (
RequestOptions,
CSVRequestOptions,
ImageRequestOptions,
PDFRequestOptions,
Filter,
Sort,
Server,
ServerResponseError,
MissingRequiredFieldError,
NotSignedInError,
Pager,
)
from ._version import get_versions
__version__ = get_versions()['version']

__version__ = get_versions()["version"]
__VERSION__ = __version__
del get_versions
Loading

0 comments on commit 1d8a9be

Please sign in to comment.