File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -394,15 +394,15 @@ PyObject* CelValueToPyObject(const cel::Value& cel_value,
394394 return py_map;
395395 }
396396 case cel::ValueKind::kTimestamp : {
397- absl ::optional<cel::TimestampValue> timestamp = cel_value.AsTimestamp ();
397+ std ::optional<cel::TimestampValue> timestamp = cel_value.AsTimestamp ();
398398 if (!timestamp.has_value ()) {
399399 PyErr_Format (PyExc_RuntimeError, " Cannot convert to timestamp" );
400400 return nullptr ;
401401 }
402402 return py::cast (timestamp->ToTime ()).release ().ptr ();
403403 }
404404 case cel::ValueKind::kDuration : {
405- absl ::optional<cel::DurationValue> duration = cel_value.AsDuration ();
405+ std ::optional<cel::DurationValue> duration = cel_value.AsDuration ();
406406 if (!duration.has_value ()) {
407407 PyErr_Format (PyExc_RuntimeError, " Cannot convert to duration" );
408408 return nullptr ;
You can’t perform that action at this time.
0 commit comments