Skip to content

Commit a7384b7

Browse files
committed
add comment about removing generics
1 parent e7864a8 commit a7384b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airbyte_cdk/sources/declarative/concurrent_declarative_source.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ def _get_declarative_component_schema() -> Dict[str, Any]:
160160
#
161161
# todo: The `ConcurrentDeclarativeSource.message_repository()` method can also be removed once AbstractSource
162162
# is no longer inherited from since the only external dependency is from that class.
163+
#
164+
# todo: It is worth investigating removal of the Generic[TState] since it will always be Optional[List[AirbyteStateMessage]]
163165
class ConcurrentDeclarativeSource(AbstractSource, Generic[TState]):
164166
# By default, we defer to a value of 2. A value lower than could cause a PartitionEnqueuer to be stuck in a state of deadlock
165167
# because it has hit the limit of futures but not partition reader is consuming them.

0 commit comments

Comments
 (0)