Skip to content

Fix for avoiding serialization error when datetimes are > 2263 #21905

Fix for avoiding serialization error when datetimes are > 2263

Fix for avoiding serialization error when datetimes are > 2263 #21905

Triggered via pull request December 1, 2023 08:16
Status Failure
Total duration 2m 51s
Artifacts

typing.yml

on: pull_request
Matrix: type-checking
Fit to window
Zoom out
Zoom in

Annotations

3 errors
type-checking (3.11): src/ert/data/_measured_data.py#L219
List comprehension has incompatible type List[str]; expected List[int | datetime]
type-checking (3.11): src/ert/data/_measured_data.py#L219
Argument 1 to "isoformat" of "datetime" has incompatible type "int | datetime"; expected "datetime"
type-checking (3.11)
Process completed with exit code 1.