Skip to content

Commit

Permalink
fix mypy + security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jennmueng committed Aug 26, 2024
1 parent 98c271b commit 60beb61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ anthropic[vertex]==0.31.2
langfuse @ git+https://github.com/jennmueng/langfuse-python.git@9d9350de1e4e84fa548fe84f82c1b826be17956e
watchdog
stumpy==1.12.0
cryptography==41.0.7
cryptography==43.0.0
4 changes: 2 additions & 2 deletions src/seer/json_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class PublicKeyBytes(BaseModel):


@module.provider
def provide_public_key(config: AppConfig = injected) -> PublicKeyBytes: # type: ignore
def provide_public_key(config: AppConfig = injected) -> PublicKeyBytes:
return PublicKeyBytes(
bytes=(
get_public_key_from_secret(
Expand All @@ -56,7 +56,7 @@ def provide_public_key(config: AppConfig = injected) -> PublicKeyBytes: # type:


@stub_module.provider
def provide_public_key_stub() -> PublicKeyBytes: # type: ignore
def provide_public_key_stub() -> PublicKeyBytes:
return PublicKeyBytes(bytes=None)


Expand Down

0 comments on commit 60beb61

Please sign in to comment.