Skip to content

Conversation

schloerke
Copy link
Collaborator

Default the url= to current bookmark url

… optional. Default to current bookmark url
@schloerke schloerke changed the title Allow for session.bookmark.update_query_string(query_string=) to be optional feat(bookmark): Allow for session.bookmark.update_query_string(query_string=) to be optional Mar 19, 2025
@schloerke schloerke requested a review from Copilot March 19, 2025 20:54
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the bookmark functionality to allow the query string parameter in update_query_string to be optional and, if not provided, to default to the current bookmark URL.

  • Update type hints and add Optional for query_string in multiple update_query_string methods.
  • Modify the implementation in one method to retrieve the current bookmark URL when query_string is None.

@schloerke schloerke enabled auto-merge (squash) March 19, 2025 20:55
@schloerke schloerke merged commit f7b7fb4 into main Mar 19, 2025
55 checks passed
@schloerke schloerke deleted the update_query_string_default branch March 19, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant