Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datapipe] Pass through kwargs to json.loads call in JsonParser #518

Closed
wants to merge 1 commit into from

Conversation

ananthsub
Copy link

Summary:
The comment of this class suggests the keyword arguments in the constructor will be passed through to the json.loads call. However, self.kwargs is not actually passed through to the call.

Updated the example in the README too

Differential Revision: D37162608

Summary:
The comment of this class suggests the keyword arguments in the constructor will be passed through to the json.loads call. However, `self.kwargs` is not actually passed through to the call.

Updated the example in the README too

Differential Revision: D37162608

fbshipit-source-id: eaf1cba864ed9f7724d5675008f4df4e1768c02c
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 15, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D37162608

@ananthsub ananthsub changed the title Pass through kwargs to json.loads call [datapipe] Pass through kwargs to json.loads call within JsonParser Jun 15, 2022
@ananthsub ananthsub changed the title [datapipe] Pass through kwargs to json.loads call within JsonParser [datapipe] Pass through kwargs to json.loads call in JsonParser Jun 15, 2022
Copy link
Contributor

@NivekT NivekT left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this.

@ananthsub ananthsub deleted the export-D37162608 branch June 16, 2022 00:48
@ejguan ejguan mentioned this pull request Jun 17, 2022
ejguan pushed a commit to ejguan/data that referenced this pull request Jun 17, 2022
Summary:
Pull Request resolved: pytorch#518

The comment of this class suggests the keyword arguments in the constructor will be passed through to the json.loads call. However, `self.kwargs` is not actually passed through to the call.

Updated the example in the README too

Reviewed By: ejguan

Differential Revision: D37162608

fbshipit-source-id: b73a6cfc58befbfabfef3595d9b00cef78852273
ejguan pushed a commit that referenced this pull request Jun 17, 2022
Summary:
Pull Request resolved: #518

The comment of this class suggests the keyword arguments in the constructor will be passed through to the json.loads call. However, `self.kwargs` is not actually passed through to the call.

Updated the example in the README too

Reviewed By: ejguan

Differential Revision: D37162608

fbshipit-source-id: b73a6cfc58befbfabfef3595d9b00cef78852273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants