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

jsons should not exclusively load json or args #80

Open
RussTorres opened this issue Apr 14, 2018 · 0 comments
Open

jsons should not exclusively load json or args #80

RussTorres opened this issue Apr 14, 2018 · 0 comments

Comments

@RussTorres
Copy link
Collaborator

It's counterintuitive to have to do, e.g.:

tform = Transform(json={'className': 'some.java.class', 'dataString': 'some string'})
tform.transformId = "myfavoritetransform"

when we could pretty easily have it work with

tform = Transform(json=tformdict, transformId="myfavoritetransform")

Pretty benign in the transform example, but I think this could save some lines and iteration when it comes to working with things like tilespec layout data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant