Skip to content

Commit

Permalink
Merge pull request #2259 from voxel51/kacey_fix_dataloader_typo
Browse files Browse the repository at this point in the history
Fix typo in get_dataloader
  • Loading branch information
kaixi-wang authored Nov 8, 2022
2 parents fe86a0b + 7b2ef04 commit 215e44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiftyone/server/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def load_items(
) -> t.List[t.Optional[T]]:
results = {}
if config.key == "id":
config.key == "_id"
config.key = "_id"
async for doc in db[config.collection].find(
{"$and": [{config.key: {"$in": keys}}] + config.filters}
):
Expand Down

0 comments on commit 215e44b

Please sign in to comment.