3 ms·
I liked everything about it until I saw the API for the Python client. What a catastrophe. I pray Microsoft is looking for Python developers: https://gist.gith
by whalesalad 12y ago
I liked everything about it until I saw the API for the Python client. What a catastrophe.
I pray Microsoft is looking for Python developers: https://gist.github.com/whalesalad/2142f0075c6896f4547c https://gist.github.com/whalesalad/2142f0075c6896f4547c
- ayrx 12y agoWow, the function naming alone is terrible. for i in range(len(path_parts) - 1, -1, -1): if not path_parts[i] in resource_types and path_parts[i] in resource_tokens: return resource_tokens[path_parts[i]] This bit of iteration is painful to look at as well.
- jkldotio 12y agoSome optimisations to get it to web-scale on TempleOS were obviously necessary.
- maaaats 12y agoI didn't compare the code, but maybe it's autogenerated from a more C-like language, making a bit awkward syntax for a language like Python?
- blablabla123 12y agoThe Client APIs are kind of free: https://github.com/Azure/azure-sdk-for-python/blob/master/LICENSE.txt https://github.com/Azure/azure-sdk-for-python/blob/master/LI...