Skip to content

Commit 323d97c

Browse files
committed
fix: style: add @OverRide decorators to DatabaseSessionService placeholder per bot feedback
Signed-off-by: Akshat Kumar <akshat230405@gmail.com>
1 parent 2b8017b commit 323d97c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/google/adk/sessions/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from typing_extensions import override
16+
1517
from .base_session_service import BaseSessionService
1618
from .in_memory_session_service import InMemorySessionService
1719
from .session import Session
@@ -35,18 +37,23 @@ class DatabaseSessionService(BaseSessionService):
3537
def __init__(self, *args, **kwargs):
3638
raise ImportError(self._ERROR_MESSAGE)
3739

40+
@override
3841
async def create_session(self, *args, **kwargs):
3942
raise ImportError(self._ERROR_MESSAGE)
4043

44+
@override
4145
async def get_session(self, *args, **kwargs):
4246
raise ImportError(self._ERROR_MESSAGE)
4347

48+
@override
4449
async def list_sessions(self, *args, **kwargs):
4550
raise ImportError(self._ERROR_MESSAGE)
4651

52+
@override
4753
async def delete_session(self, *args, **kwargs):
4854
raise ImportError(self._ERROR_MESSAGE)
4955

56+
@override
5057
async def append_event(self, *args, **kwargs):
5158
raise ImportError(self._ERROR_MESSAGE)
5259

0 commit comments

Comments
 (0)