File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
airbyte_cdk/sources/declarative/stream_slicers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ def __init__(
21
21
message_repository : MessageRepository ,
22
22
) -> None :
23
23
"""
24
- The DeclarativePartitionFactory takes a retriever_factory and not a retriever directly. The reason is that out components are not
25
- thread safe and classes like `DefaultPaginator` would not behave the way we want if multiple threads were to call their methods .
24
+ The DeclarativePartitionFactory takes a retriever_factory and not a retriever directly. The reason is that our components are not
25
+ thread safe and classes like `DefaultPaginator` may not work because multiple threads can access and modify a shared field across each other .
26
26
In order to avoid these problems, we will create one retriever per thread which should make the processing thread-safe.
27
27
"""
28
28
self ._stream_name = stream_name
You can’t perform that action at this time.
0 commit comments