We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a819ea4 commit 8023377Copy full SHA for 8023377
bfi_dagster_project/sensors/__init__.py
@@ -71,13 +71,10 @@ def failed_encoding_retry_sensor(
71
f"Key prefix {key_prefix} does not match sequence {key}"
72
)
73
continue
74
- retry_count = seq[17]
75
- if not retry_count:
76
- retry_count = 0
77
- elif not retry_count.isnumeric():
78
79
- else:
80
- retry_count = int(retry_count)
+
+ retry_count = 0
+ if seq[17] is not None:
+ retry_count = int(seq[17])
81
82
if retry_count > 3:
83
context.log.warning(
0 commit comments