How to simultaneously use getter and setter of spaCy Property extensions. #13455
Unanswered
mrsniperz
asked this question in
Help: Coding & Implementations
Replies: 1 comment
-
Has any one met this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From the documentation, it can be inferred that when using a getter to retrieve a property value, if you want to modify it, you need to set a setter simultaneously. However, when I use both getter and setter, I'm not sure how to write this function. Please see the example below, which throws an error when executed.
The error message is as follows:
RecursionError: maximum recursion depth exceeded
Beta Was this translation helpful? Give feedback.
All reactions