whylogs
whylogs copied to clipboard
When uploading segmented profiles the api key parameter doesn't override env api key value
Description
If you specify an api key in the whylab's writer as an override for an env variable set api key, the parameter should take precedence but it doesn't. This is specific to uploading segmented profiles.
results.writer('whylabs').option(api_key=self.api_key).option(org_id=self.org_id).write(dataset_id=self.dataset_id)