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

Bug: Version 0.4 onwards issues #130

Open
2 tasks done
nxfi777 opened this issue Dec 10, 2024 · 1 comment
Open
2 tasks done

Bug: Version 0.4 onwards issues #130

nxfi777 opened this issue Dec 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nxfi777
Copy link

nxfi777 commented Dec 10, 2024

Describe the bug

  1. SurrealHTTP was removed, not sure why
  2. Using AsyncSurrealDB with http after a while seems to start returning bytes object rather than the return schema.

Steps to reproduce

global db
    db = AsyncSurrealDB(url=SURREALDB_URL)
    await db.connect()
    await db.use(SURREALDB_NAMESPACE, SURREALDB_DATABASE)
    await db.sign_in(SURREALDB_USERNAME, SURREALDB_PASSWORD)

Expected behaviour

Intended return sample: [{'result': [], 'status': 'OK', 'time': '987.767µs'}]
After a while actual return: ``

SurrealDB version

surreal 1.5.5 for linux on amd64

surrealdb.py version

surrealdb.py 0.4.1 for linux on amd64 using Python 3.12

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nxfi777 nxfi777 added the bug Something isn't working label Dec 10, 2024
@remade
Copy link
Collaborator

remade commented Dec 19, 2024

@nxfi777 Can you share a code snippet? Would like to replicate this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants