20 lines
485 B
Python
20 lines
485 B
Python
# Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
from typing import Protocol, runtime_checkable
|
|
|
|
__all__ = [
|
|
"GoogleToolkitProtocol",
|
|
]
|
|
|
|
|
|
@runtime_checkable
|
|
class GoogleToolkitProtocol(Protocol):
|
|
"""A protocol for Google tool maps."""
|
|
|
|
@classmethod
|
|
def recommended_scopes(cls) -> list[str]:
|
|
"""Defines a required static method without implementation."""
|
|
...
|