Skip to content

Commit 531bb85

Browse files
committed
Resolve merge conflicts properly
1 parent 67c8758 commit 531bb85

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

src/google/adk/cli/__init__.py

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

15+
from __future__ import annotations
16+
1517
from typing import Any
18+
from typing import TYPE_CHECKING
19+
20+
from ..utils import _lazy
1621

17-
from .cli_tools_click import main as _main
22+
if TYPE_CHECKING:
23+
from .cli_tools_click import main as _main_type
1824

1925

2026
def main(args: Any = None, **kwargs: Any) -> Any:
2127
"""Package entry point that disables Windows glob expansion for all CLI commands."""
22-
2328
kwargs.setdefault("windows_expand_args", False)
29+
from .cli_tools_click import main as _main
2430
return _main.main(args=args, **kwargs)
31+
32+
33+
_LAZY_MEMBERS: dict[str, str] = {}
34+
__all__ = ['main']
35+
36+
__getattr__, __dir__ = _lazy.accessors(globals(), _LAZY_MEMBERS)

src/google/adk/cli/cli_tools_click.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import uvicorn
3535

3636
from .. import version
37-
from ..agents.run_config import StreamingMode
37+
from ..agents._streaming_mode import StreamingMode
3838
from ..evaluation.constants import MISSING_EVAL_DEPENDENCIES_MESSAGE
3939
from ..evaluation.eval_result import EvalCaseResult
4040
from ..features import FeatureName

0 commit comments

Comments
 (0)