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

daf_persistence - convert mapperArgs to dict if it is None #71

Merged
merged 2 commits into from Aug 5, 2017

Conversation

n8pease
Copy link
Contributor

@n8pease n8pease commented Jul 27, 2017

No description provided.

"""
def test(self):
cfg = dp.RepositoryCfg(root='foo', mapper='foo', mapperArgs=None, parents=None, policy=None)
self.assertIsInstance(cfg.mapperArgs, dict)

Choose a reason for hiding this comment

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

Missing _ for referencing mapperArgs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's confusing from this diff; _mapperArgs is a private parameter, accessed by a property mapperArgs, which is not shown here. I discussed this with Kenny & got the sign-off.

Copy link

@kennywlo kennywlo left a comment

Choose a reason for hiding this comment

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

Just need to fix a typo.

@n8pease n8pease merged commit c63d2c8 into master Aug 5, 2017
@ktlim ktlim deleted the tickets/DM-11289 branch August 25, 2018 06:14
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.

None yet

2 participants