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
Since the migration of the config reading methods, the simplest example is broken and the api key can't be declared inside a python script any more.
Expected behavior
Take into account the AutoFocusAPI.api_key value
from autofocus import AFSample, AFConnectionActivity, AFUserAgentFragment, AFRelatedMacro, AutoFocusAPI
AutoFocusAPI.api_key='__REMOVED__'
AFSample.get("8404e06ff383275462298e830bebe9540fab2092eca5523649d74e6e596ac23d")
Current behavior
Error :
API key is not set. Library requires AutoFocusAPI.api_key to be set, or apikey"
autofocus.exceptions.ClientError: (ClientError(...), 'API key is not set. Library requires AutoFocusAPI.api_key to be set, or apikeyto be provided via configuration file.
Describe the bug
Since the migration of the config reading methods, the simplest example is broken and the api key can't be declared inside a python script any more.
Expected behavior
Take into account the AutoFocusAPI.api_key value
Current behavior
Error :
Steps to reproduce
See code above.
Context
It breaks the TheHive/Cortex integration recently merged in the main repository of connectors :
TheHive-Project/Cortex-Analyzers#473
Your Environment
The text was updated successfully, but these errors were encountered: