Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
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
4 changes: 2 additions & 2 deletions 4 tableauserverclient/server/request_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def create_req(self, schedule_item):
schedule_element.attrib['frequency'] = interval_item._frequency
frequency_element = ET.SubElement(schedule_element, 'frequencyDetails')
frequency_element.attrib['start'] = str(interval_item.start_time)
if hasattr(interval_item, 'end_time') and interval_item.end_time:
if hasattr(interval_item, 'end_time') and interval_item.end_time is not None:
frequency_element.attrib['end'] = str(interval_item.end_time)
if hasattr(interval_item, 'interval') and interval_item.interval:
intervals_element = ET.SubElement(frequency_element, 'intervals')
Expand All @@ -302,7 +302,7 @@ def update_req(self, schedule_item):
schedule_element.attrib['frequency'] = interval_item._frequency
frequency_element = ET.SubElement(schedule_element, 'frequencyDetails')
frequency_element.attrib['start'] = str(interval_item.start_time)
if hasattr(interval_item, 'end_time') and interval_item.end_time:
if hasattr(interval_item, 'end_time') and interval_item.end_time is not None:
frequency_element.attrib['end'] = str(interval_item.end_time)
intervals_element = ET.SubElement(frequency_element, 'intervals')
if hasattr(interval_item, 'interval'):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.