Skip to content
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

Update python plugin example for compatibility with v0.100.0 #1647

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
Collaborator

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
Collaborator

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