-
Notifications
You must be signed in to change notification settings - Fork 1.4k
use metadata from SessionMessage to propagate related_request_id #591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
2b95598
initial streamable http server
ihrpr 3d790f8
add request validation and tests
ihrpr 27bc01e
session management
ihrpr 3c4cf10
terminations of a session
ihrpr bce74b3
fix cleaning up
ihrpr 2011579
add happy path test
ihrpr 2cebf08
tests
ihrpr 6c9c320
json mode
ihrpr ede8cde
clean up
ihrpr 2a3bed8
fix example server
ihrpr 0456b1b
return 405 for get stream
ihrpr 97ca48d
speed up tests
ihrpr f738cbf
stateless implemetation
ihrpr 92d4287
format
ihrpr aa9f6e5
uv lock
ihrpr 2fba7f3
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…
ihrpr 45723ea
simplify readme
ihrpr 6b7a616
clean up
ihrpr b1be691
get sse
ihrpr 201ec99
uv lock
ihrpr 46ec72d
clean up
ihrpr 1902abb
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…
ihrpr da1df74
Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-sse
ihrpr c2be5af
streamable http client
ihrpr 9b096dc
add comments to server example where we use related_request_id
ihrpr bbe79c2
Merge branch 'main' into ihrpr/streamablehttp-server
ihrpr a0a9c5b
small fixes
ihrpr a5ac2e0
use mta field for related_request_id
ihrpr 2e615f3
unrelated test and format
ihrpr 110526d
clean up
ihrpr 7ffd5ba
terminate session
ihrpr 029ec56
format
ihrpr cae32e2
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…
ihrpr 58745c7
remove useless sleep
ihrpr 1387929
rename require_initialization to standalone_mode
ihrpr bccff75
Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-sse
ihrpr dd007d7
Merge branch 'ihrpr/get-sse' into ihrpr/client
ihrpr 6482120
remove redundant check for initialize and session
ihrpr 9a6da2e
ruff check
ihrpr b957fad
Merge branch 'ihrpr/get-sse' into ihrpr/client
ihrpr 3f5fd7e
support for resumability - server
ihrpr b193242
format
ihrpr 6110435
remove print
ihrpr e087283
rename files to follow python naming
ihrpr 08247c4
update to use time delta in client
ihrpr 0484dfb
refactor
ihrpr 88ff2ba
Merge branch 'ihrpr/client' into ihrpr/resumability-server
ihrpr 5757f6c
small fixes
ihrpr ee28ad8
improve event store example implementation
ihrpr 5dbddeb
refactor _create_event_data
ihrpr 8650c77
add session message
ihrpr 80780dc
use metadata from SessionMessage to propagate related_request_id
ihrpr 901dc98
assign server message only when related_request_id is not none
ihrpr ff70bd6
Merge branch 'main' into ihrpr/streamablehttp-server
ihrpr 179fbc8
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…
ihrpr a979864
Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-sse
ihrpr 11b7dd9
Merge branch 'ihrpr/get-sse' into ihrpr/client
ihrpr 67a899c
Merge branch 'ihrpr/client' into ihrpr/resumability-server
ihrpr c3e0ff3
Merge branch 'ihrpr/resumability-server' into ihrpr/memory-stream-ite…
ihrpr 83503a0
Merge branch 'ihrpr/memory-stream-item-type' into ihrpr/use-session-m…
ihrpr e06e3a5
fixes after merge
ihrpr f6cea03
Merge branch 'ihrpr/memory-stream-item-type' into ihrpr/use-session-m…
ihrpr e95b00f
Merge branch 'main' into ihrpr/use-session-message-for-related-request
ihrpr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might they be passing their own object (say with added fields) that still has a
related_request_id
? Not sure the SDK as currently implemented would be capable of handling that (without hacking anyway), but flagging in case we want to relax this to ahasattr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's actually the reason why typed metadata was introduced, before I was using meta field in the message, which was quite bad