Skip to content

Commit

Permalink
leave TODO for gerardo
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr223 committed Jan 22, 2025
1 parent d1939bb commit 1ec6746
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/palimpzest/core/data/datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ def get_item(self, idx: int) -> DataRecord:


class MemorySource(DataSource):
"""MemorySource returns multiple objects that reflect contents of an in-memory Python list"""
"""MemorySource returns multiple objects that reflect contents of an in-memory Python list
TODO(gerardo): Add support for other types of in-memory data structures (he has some code
for subclassing MemorySource on his branch)
"""

def __init__(self, vals: Any, dataset_id: str = "memory_input"):
if isinstance(vals, (str, int, float)):
Expand Down

0 comments on commit 1ec6746

Please sign in to comment.