Skip to content

Commit 60f6e07

Browse files
Copilotsoxofaan
andcommitted
Add pandas.Series path to annotation check for both versions
Ensure backward compatibility by explicitly including both pandas 2.x and 3.x module paths Co-authored-by: soxofaan <44946+soxofaan@users.noreply.github.com>
1 parent 611abea commit 60f6e07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openeo/udf/run_code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def _annotation_is_pandas_series(annotation) -> bool:
8282
pandas.Series,
8383
_get_annotation_str(pandas.Series),
8484
"pandas.core.series.Series", # Legacy pandas 2.x path
85+
"pandas.Series", # pandas 3.x path
8586
}
8687

8788

0 commit comments

Comments
 (0)