Fix AttributeError in GoogleCloudSharedEventService: use self.bucket instead of erroneous import (#12289)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Tim O'Farrell
2026-01-07 10:03:28 -07:00
committed by GitHub
parent 6086c0b09d
commit cddf01b4e9

View File

@@ -20,7 +20,6 @@ from fastapi import Request
from google.cloud import storage
from google.cloud.storage.bucket import Bucket
from google.cloud.storage.client import Client
from more_itertools import bucket
from pydantic import Field
from server.sharing.shared_conversation_info_service import (
SharedConversationInfoService,
@@ -62,7 +61,7 @@ class GoogleCloudSharedEventService(SharedEventService):
return None
return GoogleCloudEventService(
bucket=bucket,
bucket=self.bucket,
prefix=Path('users'),
user_id=shared_conversation_info.created_by_user_id,
app_conversation_info_service=None,