Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik4949 committed Dec 27, 2024
1 parent af39076 commit 96c16c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support `<var:template_staged_file>` in Template to enable apps to use files/folders included in the template
- Add Data Component for storing data directly in the template
- Add a standalone flag in Streamlit to mark the page as independent.
- Add secrets directory mount for loading secret env vars.

#### Bug Fixes

Expand Down
1 change: 1 addition & 0 deletions superduper/misc/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


def load_secrets():
"""Help method to load secrets from directory."""
secrets_dir = CFG.secrets_volume
if not os.path.isdir(secrets_dir):
raise ValueError(f"The path '{secrets_dir}' is not a valid directory.")
Expand Down
5 changes: 3 additions & 2 deletions superduper/misc/retry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import time
import dataclasses as dc
import functools
import time
import typing as t

import tenacity
Expand Down Expand Up @@ -69,7 +69,8 @@ def wrapper(*args, **kwargs):
)
raise
logging.warn(
f"Retrying {func.__name__} due to {e}, attempt {attempt} of {retries}..."
f"Retrying {func.__name__} due to {e}"
", attempt {attempt} of {retries}..."
)
time.sleep(delay)

Expand Down

0 comments on commit 96c16c1

Please sign in to comment.