8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008d9c4 commit c637198Copy full SHA for c637198
tableaudocumentapi/datasource.py
@@ -274,6 +274,8 @@ def parameters(self):
274
275
@property
276
def extract(self):
277
+ if not self.has_extract():
278
+ return None
279
return self._extract[0]
280
281
def _get_all_fields(self):
tableaudocumentapi/extract.py
@@ -29,6 +29,11 @@ def units(self):
29
def connection(self):
30
return self._connection[0]
31
32
+ def has_refresh(self):
33
+ return len(self._refresh) > 0
34
+
35
36
def refresh(self):
37
+ if not self.has_refresh():
38
39
return self._refresh[0]
0 commit comments