Skip to content

Commit d2888a3

Browse files
UlookEEwuliang229
authored andcommitted
fix: Fix typo in several files
Merge #3365 **Please ensure you have read the [contribution guide](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) before creating a pull request.** fix typo for several files. ### Checklist - [x] I have read the [CONTRIBUTING.md](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) document. - [x] I have performed a self-review of my own code. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have added tests that prove my fix is effective or that my feature works. - [x] New and existing unit tests pass locally with my changes. - [x] I have manually tested my changes end-to-end. - [x] Any dependent changes have been merged and published in downstream modules. ### Additional context _Add any other context or screenshots about the feature request here._ Co-authored-by: Liang Wu <wuliang@google.com> COPYBARA_INTEGRATE_REVIEW=#3365 from UlookEE:fix_typo 1469de4 PiperOrigin-RevId: 827724001
1 parent 6a94af2 commit d2888a3

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

src/google/adk/agents/parallel_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async def process_an_agent(events_for_one_agent):
160160

161161

162162
class ParallelAgent(BaseAgent):
163-
"""A shell agent that run its sub-agents in parallel in isolated manner.
163+
"""A shell agent that runs its sub-agents in parallel in an isolated manner.
164164
165165
This approach is beneficial for scenarios requiring multiple perspectives or
166166
attempts on a single task, such as:

src/google/adk/evaluation/base_eval_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
class EvaluateConfig(BaseModel):
34-
"""Contains configurations need to run an evaluations."""
34+
"""Contains configurations needed to run evaluations."""
3535

3636
model_config = ConfigDict(
3737
alias_generator=alias_generators.to_camel,

src/google/adk/evaluation/eval_sets_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
class EvalSetsManager(ABC):
26-
"""An interface to manage an Eval Sets."""
26+
"""An interface to manage Eval Sets."""
2727

2828
@abstractmethod
2929
def get_eval_set(self, app_name: str, eval_set_id: str) -> Optional[EvalSet]:

src/google/adk/flows/llm_flows/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Handles function callings for LLM flow."""
15+
"""Handles function calling for LLM flow."""
1616

1717
from __future__ import annotations
1818

src/google/adk/sessions/state.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
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
1618

1719

1820
class State:
19-
"""A state dict that maintain the current value and the pending-commit delta."""
21+
"""A state dict that maintains the current value and the pending-commit delta."""
2022

2123
APP_PREFIX = "app:"
2224
USER_PREFIX = "user:"

src/google/adk/telemetry/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _safe_json_serialize(obj) -> str:
8686
def trace_agent_invocation(
8787
span: trace.Span, agent: BaseAgent, ctx: InvocationContext
8888
) -> None:
89-
"""Sets span attributes immedietely available on agent invocation according to OTEL semconv version 1.37.
89+
"""Sets span attributes immediately available on agent invocation according to OTEL semconv version 1.37.
9090
9191
Args:
9292
span: Span on which attributes are set.

tests/unittests/runners/test_pause_invocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def test_pause_on_long_running_function_call(
469469

470470

471471
class TestPauseInvocationWithWithTransferLoop(BasePauseInvocationTest):
472-
"""Tests the pausing the invocation when the agent transfer forms a loop."""
472+
"""Tests pausing the invocation when the agent transfer forms a loop."""
473473

474474
@pytest.fixture
475475
def agent(self) -> LlmAgent:

0 commit comments

Comments
 (0)