Skip to content

Conversation

@C-K-Loan
Copy link
Member

@C-K-Loan C-K-Loan commented Apr 17, 2022

For all annotators in sparknlp.annotators python package the method for get input/output/LazyAnnotator returns None because the return statements were missing.

In contrast, all annotators in sparknlp.base inherit from AnnotatorTransformer which inherits ParamsGettersSetters which does not feature the bug.

Related to this #952

@C-K-Loan C-K-Loan requested a review from maziyarpanahi April 17, 2022 23:24
@C-K-Loan C-K-Loan self-assigned this Apr 17, 2022
@maziyarpanahi
Copy link
Contributor

Thanks @C-K-Loan 👍🏼

@maziyarpanahi maziyarpanahi changed the base branch from master to release/344-release-candidate April 20, 2022 09:28
@maziyarpanahi maziyarpanahi merged commit 31f939e into release/344-release-candidate Apr 24, 2022
@KshitizGIT KshitizGIT deleted the bugfix_get_inputCols_and_getOutputCol branch March 2, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems with various getters and setters in the Python Spark NLP API

5 participants