Skip to content

Commit 6a0a7da

Browse files
authored
chore: fix task for no_existing_task scenario (#316)
# Description Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md). - [ ] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification. - Important Prefixes for [release-please](https://github.com/googleapis/release-please): - `fix:` which represents bug fixes, and correlates to a [SemVer](https://semver.org/) patch. - `feat:` represents a new feature, and correlates to a SemVer minor. - `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking change (indicated by the `!`) and will result in a SemVer major. - [ ] Ensure the tests and linter pass (Run `nox -s format` from the repository root to format) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent edf392c commit 6a0a7da

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/server/request_handlers/test_default_request_handler.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,7 @@ async def test_on_message_send_with_push_notification_no_existing_Task():
435435
acceptedOutputModes=['text/plain'], # Added required field
436436
)
437437
params = MessageSendParams(
438-
message=Message(
439-
role=Role.user,
440-
messageId='msg_push',
441-
parts=[],
442-
taskId=task_id,
443-
contextId=context_id,
444-
),
438+
message=Message(role=Role.user, messageId='msg_push', parts=[]),
445439
configuration=message_config,
446440
)
447441

0 commit comments

Comments
 (0)