Error while running python test from Build Pipeline - TypeError: __init__() got an unexpected keyword argument 'client_options'

Viewed 4878

Running python test where i have used google-cloud-datastore in my code, so is this error specific to version?

TypeError: __init__() got an unexpected keyword argument 'client_options'

How to fix this error?

1 Answers

I have solved this problem by updating/upgrading below libraries,

previous versions:

google-cloud-core==1.3.0
google-cloud-datastore==1.14.0

new versions:

google-cloud-core==1.4.1
google-cloud-datastore==1.15.0

so we could say error was because of version mismatch in google library that was used in our code.

Related