Skip to content

Commit

Permalink
test: fix ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware committed Oct 21, 2024
1 parent 6574b63 commit 9835e31
Show file tree
Hide file tree
Showing 3 changed files with 945 additions and 978 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _setup_session(self) -> None:
"""Setup the session for retries and connection handling."""
retry_strategy = Retry(
total=self._retry_count,
status_forcelist=[429, 500, 502, 503, 504],
status_forcelist=[429, 502, 503, 504],
method_whitelist=["HEAD", "GET", "OPTIONS", "POST"],
backoff_factor=1,
)
Expand Down Expand Up @@ -185,7 +185,6 @@ def post(self, url: str, data: str) -> Dict:
verify=self._verify,
timeout=self._timeout,
)
print("url", self.base_url + url, self.session.headers, response.text)
return response.json()

def execute_query(self, query: str, timeout: int = 300) -> List[Dict[str, Any]]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"DATA_MANIPULATION": ["INSERT INTO", "MERGE INTO", "CREATE TABLE"],
}


@dataclass
class DremioContainerResponse:
container_type: str
Expand Down
Loading

0 comments on commit 9835e31

Please sign in to comment.