arskom / spyne

A transport agnostic sync/async RPC library that focuses on exposing services with a well-defined API using popular protocols.
http://spyne.io
Other
1.13k stars 313 forks source link

ctx.descriptor.udp unavailable #643

Closed azurit closed 4 years ago

azurit commented 4 years ago

In version 2.13.14-beta, ctx.descriptor.udp is unavailable: AttributeError: 'MethodDescriptor' object has no attribute 'udp'

From spyne-2.13.2-alpha changelog: _udp argument to @rpc was deprecated in favour of _udd. UDP is too well known as user datagram protocol which could be confusing.

I suppose that 'deprecated' means 'udp' will be available for some time along with 'udd', so this is probably a bug.

plq commented 4 years ago

I suppose that 'deprecated' means 'udp' will be available for some time along with 'udd', so this is probably a bug.

Correct. I'll fix this shortly.

azurit commented 4 years ago

Thank you!

plq commented 4 years ago

this patch is merged to master. a release will be made shortly