Skip to content

Conversation

j1mr10rd4n
Copy link
Contributor

Updates the python plugin example code for compatibility with v0.100.0.

NB: the rust example in this document is still at v0.90.2 - I don't have the rust experience to be able to make equivalent updates - it might be best to create an issue for this.

@@ -1081,15 +1081,18 @@ def send_error(id, error_msg, span):

def handle_call(id, call_info):
try:
input = call_info["input"]["Value"]["String"]
input = call_info["input"]["Value"][0]["String"]
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the only part that gives me pause. Seems odd that we'd have to get the 0th element, but maybe that's right?

@fdncred
Copy link
Contributor

fdncred commented Nov 23, 2024

Yes, the rust and the under-the-hood part need to be updated too. Issues to update them is fine if you don't have that expertise. Thanks!

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