Open Omid-Archie opened 1 week ago
@brianjlai I have a sneaky suspicion that one of the recent availability strategy cleanups caused a regression in the custom component. Who would be the right person to take a look here?
@natikgadzhi this doesn't appear to be an availability strategy cleanup specific thing. I can see why you might think that because availability strategy is invoked, but the root cause looks like we're not instantiating the cursor_field
as an InterpolatedString (which has an eval method) and instead are just instantiating it as a regular string object. Even if availability strategy was removed out of the code, this would probably end up failing mid-way through the sync due to the field not getting instantiated correctly.
I would have always expected this to be an InterpolatedString as per this: https://github.com/airbytehq/airbyte/blob/2fa35ab30bfe80be6b3ef4763e5e540101724462/airbyte-cdk/python/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py#L92 . But this needs more investigation into why we're not constructing the DatetimeBasedCursor instance correctly
There are a few issues in Quickbooks that @pabloescoder recently worked on. His work solves a few other things and it is NOT merged yet, blocked by regression tests runners crapping out.
We should team up with @alafanechere and @pabloescoder as the first collaboration of tooling <> community eng, and make regression tests play nice, unblock previous PRs, and then ask Dhroov to fix this one as well.
@natikgadzhi @brianjlai Hi guys, any updates on this? I need it for my corp ASAP.
Yeah. I would love to get an update on this as well as our syncs have been failing for 2 days now with the same issue OP mentioned
Connector Name
Source-QuickBooks
Connector Version
3.0.25
What step the error happened?
Configuring a new connector
Relevant information
Configuration check failed "Unable to connect to stream accounts - 'str' object has no attribute 'eval'". I get this error with OpenId/Accounting token. I can provide the server information in private.
Relevant log output
Contribute