Referring to the doc, calling QueryResults.fetch_data raises an exception since self.name is None:
if self.name is None:
raise ValueError("Query not yet executed: call 'run()'")
However, if QueryResults.run is called, an exception is also raised since self._job already exists:
if self._job is not None:
raise ValueError("Query job is already running.")
Referring to the doc, calling
QueryResults.fetch_dataraises an exception sinceself.nameisNone:However, if
QueryResults.runis called, an exception is also raised sinceself._jobalready exists: