Skip to content
Snippets Groups Projects
Commit a7833cc7 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[data.dataset] Improve documentation

parent 427ffd73
No related branches found
No related tags found
1 merge request!12Streamlining
Pipeline #39020 passed
...@@ -61,8 +61,8 @@ class JSONDataset: ...@@ -61,8 +61,8 @@ class JSONDataset:
the JSON file. the JSON file.
loader : object loader : object
A function that receives as input, a context dictionary (with a A function that receives as input, a context dictionary (with at least
"protocol" and "subset" keys indicating which protocol and subset are a "protocol" and "subset" keys indicating which protocol and subset are
being served), and a dictionary with ``{key: path}`` entries, and being served), and a dictionary with ``{key: path}`` entries, and
returns a dictionary with the loaded data. returns a dictionary with the loaded data.
...@@ -204,9 +204,10 @@ class CSVDataset: ...@@ -204,9 +204,10 @@ class CSVDataset:
the CSV file(s). the CSV file(s).
loader : object loader : object
A function that receives, as input, a dictionary with ``{name: value}`` A function that receives as input, a context dictionary (with, at
entries (for each header in the input CSV file), and returns a least, a "subset" key indicating which subset is being served), and a
dictionary with the loaded data. dictionary with ``{key: path}`` entries, and returns a dictionary with
the loaded data.
keymaker : object keymaker : object
A function that receives as input the same input from the ``loader``, A function that receives as input the same input from the ``loader``,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment