CLU - March SDK - Resolution casting/polymorphism #23754
Labels
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Language
Cognitive - LUIS
Describe the bug
CLU March APIs introduced the concept of
resolutions
with each entity.There are many types of resolutions which share the same
BaseResolution
class that usesresolution_kind
property to cast thisBaseResolution
into one of these other sub-types like:AgeResolution
, orDateTimeResolution
.The problem is that even though every subtype defines this
resolution_kind
property with each's own value, python couldn't type cast this base class into corresponding sub type.To Reproduce
Steps to reproduce the behavior:
sample_analyze_conversation_app.py
in the samples dir (using your own resource).Expected behavior
Resolution should be any of the subtypes (not BaseResolution).
The text was updated successfully, but these errors were encountered: