Skip to content

docs: fix incorrect parameter description in load_data_json#3053

Merged
TParcollet merged 2 commits into
speechbrain:developfrom
Rbimochan:fix-json-docstring
May 27, 2026
Merged

docs: fix incorrect parameter description in load_data_json#3053
TParcollet merged 2 commits into
speechbrain:developfrom
Rbimochan:fix-json-docstring

Conversation

@Rbimochan

Copy link
Copy Markdown
Contributor

Summary

Fixes a small docstring typo in load_data_json.

The json_path parameter description incorrectly referred to a CSV file instead of a JSON file.

Changes

  • Updated:

    • Path to CSV file.
    • Path to the JSON file.

Notes

  • Documentation-only change
  • No runtime behavior modified
  • No unrelated files changed

Copilot AI review requested due to automatic review settings May 8, 2026 03:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the load_data_json docstring in speechbrain.dataio.dataio so the json_path parameter description accurately refers to a JSON file (not a CSV), improving API documentation clarity.

Changes:

  • Updated the json_path parameter description in load_data_json from “Path to CSV file.” to “Path to the JSON file.”

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TParcollet TParcollet self-requested a review May 27, 2026 11:37

@TParcollet TParcollet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@TParcollet TParcollet merged commit 2827a48 into speechbrain:develop May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants