Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixe ssl3_ja3
yeti-tasks | [2024-06-10 13:48:01,044: INFO/MainProcess] Running task SSLBlacklistJA3 (TaskType.feed) yeti-tasks | [2024-06-10 13:48:01,139: ERROR/MainProcess] Traceback (most recent call last): yeti-tasks | File "/app/core/taskmanager.py", line 79, in run_task yeti-tasks | task.run() yeti-tasks | File "/app/plugins/feeds/public/sslblacklist_ja3.py", line 34, in run yeti-tasks | df = self._filter_observables_by_time(df, "last_seen") yeti-tasks | File "/app/core/schemas/task.py", line 111, in _filter_observables_by_time yeti-tasks | df = df[df[column] > np.datetime64(self.last_run)] yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/ops/common.py", line 76, in new_method yeti-tasks | return method(self, other) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/arraylike.py", line 56, in __gt__ yeti-tasks | return self._cmp_method(other, operator.gt) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/series.py", line 6110, in _cmp_method yeti-tasks | res_values = ops.comparison_op(lvalues, rvalues, op) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/ops/array_ops.py", line 344, in comparison_op yeti-tasks | res_values = comp_method_OBJECT_ARRAY(op, lvalues, rvalues) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/ops/array_ops.py", line 129, in comp_method_OBJECT_ARRAY yeti-tasks | result = libops.scalar_compare(x.ravel(), y, op) yeti-tasks | File "ops.pyx", line 107, in pandas._libs.ops.scalar_compare yeti-tasks | numpy.core._exceptions._UFuncNoLoopError: ufunc 'less' did not contain a loop with signature matching types (<class 'numpy.dtypes.DateTime64DType'>, <class 'numpy.dtypes.StrDType'>) -> None