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

Fix 'merge' in ws.py #85

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

Fix 'merge' in ws.py #85

wants to merge 1 commit into from

Conversation

chrda81
Copy link

@chrda81 chrda81 commented Dec 26, 2023

Response message "Method not found" is received with error_code "SurrealPermissionException", so I guess the method="change" is obsolete.

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

What does this change do?

This change fixes the 'merge' function.

What is your testing strategy?

Is this related to any issues?

Have you read the Contributing Guidelines?

Response message "Method not found" is received with error_code "SurrealPermissionException", so I guess the method="change" is obsolete.
@Wouterkoorn
Copy link

Wouterkoorn commented Apr 1, 2024

I encountered the same problem when using Surreal.patch. Would you mind checking all methods, and extending this fix for them all?
I guess same PR is fine 🤷

@Wouterkoorn
Copy link

I encountered the same problem when using Surreal.patch. Would you mind checking all methods, and extending this fix for them all?~ ~I guess same PR is fine 🤷

I see now that the whole patch method is wrong, and more changes are needed than just changing the method name. I will create separate issue/PR - apologies for the spam

@starascendin
Copy link

any updates on this? i'm getting
surrealdb.ws.SurrealPermissionException: Method not found
for .merge and it's been outstanding issue for the python SDK for years.

@igoutta
Copy link

igoutta commented Sep 3, 2024

Still not done. Neither patch method seems to be found.

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.

4 participants