Skip to content

Commit b0f69a9

Browse files
committed
fix: linting
1 parent d2130b3 commit b0f69a9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/webapp/databricks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def _sha256_json(obj: Any) -> str:
9090

9191
L1_RESP_CACHE_TTL = int("600") # seconds
9292
L1_VER_CACHE_TTL = int("3600") # seconds
93-
L1_RESP_CACHE = TTLCache(maxsize=128, ttl=L1_RESP_CACHE_TTL)
94-
L1_VER_CACHE = TTLCache(maxsize=256, ttl=L1_VER_CACHE_TTL)
93+
L1_RESP_CACHE: Any = TTLCache(maxsize=128, ttl=L1_RESP_CACHE_TTL)
94+
L1_VER_CACHE: Any = TTLCache(maxsize=256, ttl=L1_VER_CACHE_TTL)
9595
_L1_LOCK = threading.RLock()
9696

9797

src/webapp/routers/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def backfill_model_runs(
758758
.values(model_run_id=mv_run_id, model_version=mv_version)
759759
)
760760
result = local_session.get().execute(stmt)
761-
updated_count = result.rowcount or 0 # type: ignore
761+
updated_count = result.rowcount or 0 # type: ignore
762762
local_session.get().commit()
763763

764764
return {

0 commit comments

Comments
 (0)