mirror of
https://github.com/beshu-tech/deltaglider.git
synced 2026-04-19 06:59:52 +02:00
fix: Update mypy type ignore comment for compatibility
- Change type: ignore[return-value] to type: ignore[no-any-return] - Ensures mypy type checking passes in CI/CD pipeline 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -163,7 +163,7 @@ class S3StorageAdapter(StoragePort):
|
||||
|
||||
try:
|
||||
response = self.client.get_object(Bucket=bucket, Key=object_key)
|
||||
return response["Body"] # type: ignore[return-value]
|
||||
return response["Body"] # type: ignore[no-any-return]
|
||||
except ClientError as e:
|
||||
if e.response["Error"]["Code"] == "NoSuchKey":
|
||||
raise FileNotFoundError(f"Object not found: {key}") from e
|
||||
|
||||
Reference in New Issue
Block a user