Код:
"authenticator = IAMAuthenticator('API here')
discovery = DiscoveryV1(
version='2019-04-30',
authenticator=authenticator
)
"
Ошибка:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-34-be8d6641d00e> in <module>
1 discovery = DiscoveryV1(
2 version='2019-04-30',
----> 3 authenticator=authenticator
4 )
TypeError: __init__() got an unexpected keyword argument 'authenticator'
Чем он отличается от?
https://cloud.ibm.com/apidocs/discovery?code=python