Add support for C# enums to the python client