Skip to content

Future warnings have strange return statements in them #5385

Closed
@akelad

Description

/Users/akela/Documents/rasa-new/rasa/nlu/components.py:394: FutureWarning: 'EmbeddingIntentClassifier' is deprecated and will be removed in version 2.0. Use 'DIETClassifier' instead.
  return cls(component_config)
/Users/akela/Documents/rasa-new/rasa/core/policies/ensemble.py:310: FutureWarning: 'EmbeddingPolicy' is deprecated and will be removed in version 2.0. Use 'TEDPolicy' instead.
  policy_object = constr_func(**policy)

The last lines of both of those warnings shouldn't be there should they?

Metadata

Assignees

No one assigned

    Labels

    area:rasa-oss 🎡Anything related to the open source Rasa frameworktype:enhancement ✨Additions of new features or changes to existing ones, should be doable in a single PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions