Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi297 committed Oct 22, 2024
1 parent e5bade4 commit 352b843
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ def _calculate_lower_boundary_of_last_slice(self, lower_boundary: CursorValueTyp
return lower_boundary - self._lookback_window
return lower_boundary

def _split_per_slice_range(self, lower: CursorValueType, upper: CursorValueType, upper_is_end: bool) -> Iterable[Tuple[CursorValueType, CursorValueType]]:
def _split_per_slice_range(
self, lower: CursorValueType, upper: CursorValueType, upper_is_end: bool
) -> Iterable[Tuple[CursorValueType, CursorValueType]]:
if lower >= upper:
return

Expand Down
7 changes: 6 additions & 1 deletion airbyte-cdk/python/airbyte_cdk/test/mock_http/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,10 @@ def __repr__(self) -> str:

def __eq__(self, other: Any) -> bool:
if isinstance(other, HttpRequest):
return self._parsed_url == other._parsed_url and self._query_params == other._query_params and self._headers == other._headers and self._body == other._body
return (
self._parsed_url == other._parsed_url
and self._query_params == other._query_params
and self._headers == other._headers
and self._body == other._body
)
return False
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import copy
import json
from datetime import datetime, timedelta, timezone
from typing import Any, Dict, Iterable, List, Mapping, Optional, Union, Tuple
from typing import Any, Dict, Iterable, List, Mapping, Optional, Tuple, Union

import freezegun
import isodate
Expand Down

0 comments on commit 352b843

Please sign in to comment.