Skip to content

Commit 321a62e

Browse files
committed
Add is_dynamic_schema_call to mark schema discovery calls as auxiliary for cleaner logs
1 parent a4d853b commit 321a62e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airbyte_cdk/sources/declarative/retrievers/simple_retriever.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,7 @@ def _fetch_next_page(
670670
stream_slice: StreamSlice,
671671
next_page_token: Optional[Mapping[str, Any]] = None,
672672
) -> Optional[requests.Response]:
673+
is_dynamic_schema_call = (self.name == "dynamic_properties")
673674
return self.requester.send_request(
674675
path=self._paginator_path(
675676
next_page_token=next_page_token,
@@ -704,6 +705,7 @@ def _fetch_next_page(
704705
f"Stream '{self.name}' request",
705706
f"Request performed in order to extract records for stream '{self.name}'",
706707
self.name,
708+
is_auxiliary=is_dynamic_schema_call # Mark schema discovery calls as auxiliary for cleaner logs
707709
),
708710
)
709711

0 commit comments

Comments
 (0)