We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef61f8a commit 5921645Copy full SHA for 5921645
sdk/python/feast/infra/online_stores/redis.py
@@ -445,17 +445,13 @@ def _get_features_for_entity(
445
ts_key = f"_ts:{feature_view}"
446
ts_val = res_val.pop(ts_key)
447
if ts_val:
448
- res_ts.ParseFromString(
449
- ts_val if isinstance(ts_val, bytes) else bytes(ts_val)
450
- )
+ res_ts.ParseFromString(ts_val)
451
452
res: Dict[str, ValueProto] = {}
453
for feature_name, val_bin in res_val.items():
454
val = ValueProto()
455
if val_bin:
456
- val.ParseFromString(
457
- val_bin if isinstance(val_bin, bytes) else bytes(val_bin)
458
+ val.ParseFromString(val_bin)
459
res[feature_name] = val
460
461
if not res:
0 commit comments