Skip to content

Commit

Permalink
fix python test
Browse files Browse the repository at this point in the history
  • Loading branch information
rbasralian committed Sep 3, 2024
1 parent b58c7db commit 2b09ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/server/deephaven/experimental/keyed_record_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def __init__(self,

# Build a list of the DTypes corresponding to the key columns
if self.is_single_key_col:
self.key_dtypes = self.table.columns_dict()[key_cols[0]].data_type
self.key_dtypes = self.table.definition[key_cols[0]].data_type
else:
self.key_dtypes = [self.table.columns_dict()[col_name].data_type for col_name in key_cols]
self.key_dtypes = [self.table.definition[col_name].data_type for col_name in key_cols]

def get_records(self, data_keys: [typing.List[K], numpy.ndarray]) -> [typing.Dict[K, T], typing.List[T]]:
"""
Expand Down

0 comments on commit 2b09ce5

Please sign in to comment.