File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2121 MetricsDataMetricsType
2222from .openapi .metrics .models .target_data import TargetData
2323from .openapi .metrics .types import Unset
24+ from .openapi .config .types import Unset as ConfigUnset
2425from .sdk_logging_codes import (info_evaluation_metrics_exceeded ,
2526 info_metrics_success ,
2627 info_metrics_target_batch_success ,
@@ -326,7 +327,7 @@ def process_target_data_batch(self, target_data_batch):
326327
327328 def process_target (self , target_data , unique_target ):
328329 target_attributes : List [KeyValue ] = []
329- if not isinstance (unique_target .attributes , Unset ):
330+ if not isinstance (unique_target .attributes , ConfigUnset ):
330331 for key , value in unique_target .attributes .items ():
331332 # Attribute values need to be sent as string to
332333 # ff-server so convert all values to strings.
You can’t perform that action at this time.
0 commit comments