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
A new bug was introduced in alpha9 (#150) to address issue #147. The new bug behavior occurs after performing the first refresh() with a developer_token. The refresh updates the self.access_token_ attribute which results in subsequent developer_token refresh attempts not matching the following if statement:
* Check for credentials in instance instead of self.access_token_, fixes#153
* Refrain from passing credentials kwarg to get_job_results() in iter_job_results(), fixes#154
* Bump version
A new bug was introduced in alpha9 (#150) to address issue #147. The new bug behavior occurs after performing the first
refresh()
with adeveloper_token
. The refresh updates theself.access_token_
attribute which results in subsequentdeveloper_token
refresh attempts not matching the following if statement:https://github.com/PaloAltoNetworks/pan-cortex-data-lake-python/blob/master/pan_cortex_data_lake/credentials.py#L480
Expected behavior
Refreshing with a
developer_token
should support more than a singlerefresh()
.Current behavior
The
refresh()
method fails after the first refresh is performed with adeveloper_token
.Possible solution
Switch to evaluating whether
self._credentials_found_in_instance
isFalse
instead ofself.access_token_
.Steps to reproduce
developer_token
envar.Credentials
and assign to a variable.<variable>.refresh()
twice.Screenshots
Context
Your Environment
The text was updated successfully, but these errors were encountered: