Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
342 changes: 0 additions & 342 deletions samples/materialize_workbooks.py

This file was deleted.

8 changes: 4 additions & 4 deletions tableauserverclient/models/property_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,16 @@ def wrapper(self, value):
return wrapper


def property_is_materialized_views_config(func):
def property_is_data_acceleration_config(func):
@wraps(func)
def wrapper(self, value):
if not isinstance(value, dict):
raise ValueError("{} is not type 'dict', cannot update {})".format(value.__class__.__name__,
func.__name__))
if len(value) != 2 or not all(attr in value.keys() for attr in ('materialized_views_enabled',
'run_materialization_now')):
if len(value) != 2 or not all(attr in value.keys() for attr in ('acceleration_enabled',
'accelerate_now')):
error = "{} should have 2 keys ".format(func.__name__)
error += "'materialized_views_enabled' and 'run_materialization_now'"
error += "'acceleration_enabled' and 'accelerate_now'"
error += "instead you have {}".format(value.keys())
raise ValueError(error)
return func(self, value)
Expand Down
2 changes: 1 addition & 1 deletion tableauserverclient/models/schedule_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Type:
Extract = "Extract"
Flow = "Flow"
Subscription = "Subscription"
MaterializeViews = "MaterializeViews"
DataAcceleration = "DataAcceleration"

class ExecutionOrder:
Parallel = "Parallel"
Expand Down
Loading