Skip to content

Commit 98d3fee

Browse files
authored
add lint fix and add slack notifications (#815)
1 parent ca7cf63 commit 98d3fee

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

catalog-info.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ spec:
5353
spec:
5454
pipeline_file: .buildkite/pipeline.yml
5555
repository: elastic/eland
56+
env:
57+
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
58+
SLACK_NOTIFICATIONS_CHANNEL: '#devtools-notify'
5659
teams:
5760
ml-core: {}
5861
devtools-team: {}

eland/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _metric_agg_series(
185185
else:
186186
# If all results are float convert into float64
187187
if all(isinstance(i, float) for i in results.values()):
188-
dtype: "DTypeLike" = np.float64
188+
dtype: "DTypeLike | None" = np.float64
189189
# If all results are int convert into int64
190190
elif all(isinstance(i, int) for i in results.values()):
191191
dtype = np.int64

0 commit comments

Comments
 (0)