Skip to content

Commit

Permalink
remove caveclient flag for turning off saving local auth token file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceesem committed Oct 25, 2024
1 parent 763d701 commit 8887127
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions caveclient/frameworkclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def __new__(
info_cache=None,
write_server_cache=True,
version: Optional[int] = None,
write_local_auth=True,
):
"""A manager for all clients sharing common datastack and authentication information.
Expand Down Expand Up @@ -131,7 +130,6 @@ def __new__(
desired_resolution=desired_resolution,
info_cache=info_cache,
version=version,
write_local_auth=write_local_auth,
)


Expand Down Expand Up @@ -349,7 +347,6 @@ def __init__(
desired_resolution=None,
info_cache=None,
version: Optional[int] = None,
write_local_auth: bool = True,
):
"""A manager for all clients sharing common datastack and authentication information.
Expand Down Expand Up @@ -436,8 +433,7 @@ def __init__(
self._l2cache = None
self.desired_resolution = desired_resolution
self.local_server = self.info.local_server()
if write_local_auth:
self.auth.local_server = self.local_server
self.auth.local_server = self.local_server

av_info = self.info.get_aligned_volume_info()
self._aligned_volume_name = av_info["name"]
Expand Down
1 change: 0 additions & 1 deletion caveclient/tools/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ def mockedCAVEclient():
server_address=global_server,
write_server_cache=False,
auth_token="just_a_test",
write_local_auth=False,
global_only=global_only,
version=set_version,
)
Expand Down

0 comments on commit 8887127

Please sign in to comment.