Skip to content

Commit

Permalink
Merge pull request #3 from tamuhey/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
ines committed Dec 2, 2019
2 parents 346c7e9 + 1d4e346 commit cecee06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ you'll be able to access all loaders by calling `loaders.get_all`.
# YOUR PACKAGE
def load_data(data, loader_id):
print("All loaders:", loaders.get_all()) # {"custom_loader": <custom_loader>}
loader = loaders.get(loader)
loader = loaders.get(loader_id)
return loader(data)
```

Expand Down

0 comments on commit cecee06

Please sign in to comment.