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
The check method has a default value of None for the session parameter, but that default value causes the fetch_database function to raise an AttributeError since it doesn't check if it's None before trying to access is_using_auth_credentials on it.
Previously, on v2, the above code worked. I understand that I can expect breaking changes going from v2 to v3, but maybe this particular issue was an oversight and can be solved on your side. Let me know! I can also fix my own code to instantiate a session myself and provide it to the check function. By the way what is the type of this session object?
The text was updated successfully, but these errors were encountered:
Description
I'm using
safety
programmatically:It fails with the following traceback:
The
check
method has a default value ofNone
for thesession
parameter, but that default value causes thefetch_database
function to raise anAttributeError
since it doesn't check if it'sNone
before trying to accessis_using_auth_credentials
on it.Previously, on v2, the above code worked. I understand that I can expect breaking changes going from v2 to v3, but maybe this particular issue was an oversight and can be solved on your side. Let me know! I can also fix my own code to instantiate a session myself and provide it to the
check
function. By the way what is the type of thissession
object?The text was updated successfully, but these errors were encountered: