You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return [field]# type: ignore # the type of field is expected to be List[str] here
74
+
return [field]
75
75
76
76
raiseValueError(f"Unknown type for cursor field `{field}")
77
77
@@ -232,9 +232,9 @@ def _get_message_groups(
232
232
current_slice_descriptor=self._parse_slice_description(message.log.message) # type: ignore[union-attr] # AirbyteMessage with MessageType.LOG has log.message
elifmessage.type==MessageType.LOGandmessage.log.message.startswith(# type: ignore[union-attr] # None doesn't have 'message'
236
236
SliceLogger.SLICE_LOG_PREFIX
237
-
):# type: ignore[union-attr] # AirbyteMessage with MessageType.LOG has log.message
237
+
):
238
238
# parsing the first slice
239
239
current_slice_descriptor=self._parse_slice_description(message.log.message) # type: ignore[union-attr] # AirbyteMessage with MessageType.LOG has log.message
240
240
elifmessage.type==MessageType.LOG:
@@ -274,14 +274,14 @@ def _get_message_groups(
274
274
ifmessage.trace.type==TraceType.ERROR: # type: ignore[union-attr] # AirbyteMessage with MessageType.TRACE has trace.type
275
275
yieldmessage.trace
276
276
elifmessage.type==MessageType.RECORD:
277
-
current_page_records.append(message.record.data) # type: ignore[union-attr] # AirbyteMessage with MessageType.RECORD has record.data
277
+
current_page_records.append(message.record.data) # type: ignore[arg-type, union-attr] # AirbyteMessage with MessageType.RECORD has record.data
0 commit comments