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
I've encountered an intermittent issue in the get_sql_value function where a TypeError occurs. The error message indicates that the problem is related to the isinstance() function, specifically at the line isinstance(value, datetime.datetime). The error message is as follows:
TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union
Steps to Reproduce:
Unfortunately, I am unable to consistently reproduce this issue, which makes it challenging to pinpoint the exact cause. However, the error seems to occur intermittently during the execution of the get_sql_value function.
Expected Behavior:
The isinstance() function should accept datetime.datetime as a valid type for the value argument.
Actual Behavior:
Intermittently, the TypeError mentioned above occurs, preventing the code from executing as expected.
The text was updated successfully, but these errors were encountered:
Issue Description:
I've encountered an intermittent issue in the get_sql_value function where a TypeError occurs. The error message indicates that the problem is related to the isinstance() function, specifically at the line isinstance(value, datetime.datetime). The error message is as follows:
TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union
Steps to Reproduce:
Unfortunately, I am unable to consistently reproduce this issue, which makes it challenging to pinpoint the exact cause. However, the error seems to occur intermittently during the execution of the get_sql_value function.
Expected Behavior:
The isinstance() function should accept datetime.datetime as a valid type for the value argument.
Actual Behavior:
Intermittently, the TypeError mentioned above occurs, preventing the code from executing as expected.
The text was updated successfully, but these errors were encountered: