Hacker News new | ask | show | jobs
by mrweasel 993 days ago
The Azure SDK generally have a lot of silliness in the Python implementation. Functions that take string as inputs, except of course they don't, they take two or three very specific string values and use them to control functionality. What those values are... Well, you should take a look at the ENUM in the C# implementation to figure that part out.
2 comments

Relieved to learn its not just the Java libs that are piles of hastily cobbled-together crap.
Python has enums though :(
Sure, but Microsoft doesn't always use them.