File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
airbyte_cdk/sources/declarative/stream_slicers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818# For Connector Builder test read operations, we track the total number of records
1919# read for the stream so that we can stop reading early if we exceed the record limit.
2020class RecordCounter :
21- def __init__ (self ):
21+ def __init__ (self ) -> None :
2222 self .total_record_counter = 0
2323
24- def increment (self ):
24+ def increment (self ) -> None :
2525 self .total_record_counter += 1
2626
27+ def reset (self ) -> None :
28+ self .total_record_counter = 0
29+
2730 def get_total_records (self ) -> int :
2831 return self .total_record_counter
2932
30- def reset (self ):
31- self .total_record_counter = 0
32-
3333
3434class SchemaLoaderCachingDecorator (SchemaLoader ):
3535 def __init__ (self , schema_loader : SchemaLoader ):
You can’t perform that action at this time.
0 commit comments