Skip to content

Conversation

ssmith-pc
Copy link
Contributor

@ssmith-pc ssmith-pc commented Oct 1, 2025

Problem

See this notebook for usage:
https://colab.research.google.com/drive/1aSgSZ2iQYXfkPuE9fyZiKcXxKlZxD9bq?usp=sharing

Most of this PR is generated code from the API spec.

Non-generated code is here:

Screenshot 2025-10-01 at 11 51 12 AM

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Manual testing.

There are no automated tests yet. I'm hesitant to invest too heavily in tests while there is still so much potential for things to change on the server.

@ssmith-pc ssmith-pc changed the base branch from main to dev-ckb-sdk October 1, 2025 06:02
query_str: str,
top_k: int,
filter: Optional[Dict[str, Any]] = None,
# TODO, add options
Copy link
Contributor

Choose a reason for hiding this comment

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

there is a todo here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to hold off exposing support for options in the SDK for now.

Copy link
Contributor

@rohanshah18 rohanshah18 left a comment

Choose a reason for hiding this comment

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

Nice work, lgtm!

@ssmith-pc ssmith-pc merged commit b2d6ac5 into dev-ckb-sdk Oct 3, 2025
30 of 34 checks passed
@ssmith-pc ssmith-pc deleted the ssmith/ckb-search branch October 3, 2025 19:15
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.

2 participants