Skip to content

Commit 69074ed

Browse files
authored
Disable auth cache by default if there is no config (#79)
* disable auth cache by default * bump version
1 parent 7151121 commit 69074ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cirro/api/auth/oauth_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
from io import StringIO
21
import json
32
import logging
43
import sys
54
import threading
65
import time
76
from datetime import datetime, timedelta
7+
from io import StringIO
88
from pathlib import Path
99
from typing import Optional
1010

@@ -92,7 +92,7 @@ def __init__(
9292
client_id: str,
9393
region: str,
9494
auth_endpoint: str,
95-
enable_cache=True,
95+
enable_cache=False,
9696
auth_io: Optional[StringIO] = None
9797
):
9898
self.client_id = client_id

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cirro"
3-
version = "0.7.3"
3+
version = "0.7.4"
44
description = "CLI tool and SDK for interacting with the Cirro platform"
55
authors = ["Cirro Bio <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)