Checking types on the server side #271
fitoprincipe
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
what would be the difference from the because if I can do this with your method: params = [{"a": 1}, {"b": 2}]
newDict = ee.Dictionary.fromPairs(params) I could do the same with vanilla GEE methods and 1 extra line keys, values = zip(*[("a", 1}, ("b", 2)])
newDict = ee.Dictionary.fromLists(keys, values) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking in creating a Feature Request for
ee.Dictionary.geetools.fromPairs
to be able to doI know that some server side methods accept different arguments to do the same, but I am not sure if we should try to mimic that behavior or just create as many methods as options.
To do it server side we can use ee.Algorithms.ObjectType. It'll also require to use ee.Algorithms.If
What do you think @12rambau?
Beta Was this translation helpful? Give feedback.
All reactions