Skip to content

Commit

Permalink
black .
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-agenta committed Dec 11, 2024
1 parent a5e3197 commit 7a0008e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion agenta-cli/agenta/sdk/decorators/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ def _redact(
not in (
ignore
if isinstance(ignore, list)
else io.keys() if ignore is True else []
else io.keys()
if ignore is True
else []
)
}

Expand Down
1 change: 0 additions & 1 deletion agenta-cli/agenta/sdk/middleware/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@


class DenyResponse(JSONResponse):

def __init__(
self,
status_code: int = 401,
Expand Down
3 changes: 0 additions & 3 deletions agenta-cli/tests/baggage/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
flag=ag.BinaryParam(value=False),
)

# XELnjVve.c1f177c87250b603cf1ed2a69ebdfc1cec3124776058e7afcbba93890c515e74


@ag.route()
@ag.instrument()
def main(aloha: str = "Aloha") -> str:

print(ag.ConfigManager.get_from_route())
print(ag.VaultManager.get_from_route())
print(ag.config.flag)
Expand Down

0 comments on commit 7a0008e

Please sign in to comment.