You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is one deprecated decorator in the hot code path which was initially moved to the class level to reduce performance impact, and which I've moved back to the method level but commented-out to avoid any performance impact. Since migrating from the Deprecated third party library to the PEP 702 native support for @deprecated decorators, we might be in a better situation now with performance, but I didn't want to take a risk. I also didn't want to trigger a deprecated warning on the whole class if only one method is deprecated.
I wanted to move the deprecated warning back the method level but I didn't want to risk a performance hit. Compromise was to move it back, comment it out, add a notice to the method's docstring, and open this issue for follow up. Probably not a high pri, but wanted to share with you for visibility.
@artem1205 no deadlines, but the cleanup is VERY encouraged. I'm very curious about the list of potential performance improvements that you wanted to do, but did not have time to do, as well.
There is one
deprecated
decorator in the hot code path which was initially moved to the class level to reduce performance impact, and which I've moved back to the method level but commented-out to avoid any performance impact. Since migrating from theDeprecated
third party library to the PEP 702 native support for@deprecated
decorators, we might be in a better situation now with performance, but I didn't want to take a risk. I also didn't want to trigger a deprecated warning on the whole class if only one method is deprecated.airbyte-python-cdk/airbyte_cdk/sources/streams/core.py
Lines 434 to 444 in bd2e5af
The text was updated successfully, but these errors were encountered: