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: sync_to_async #1

Closed
wants to merge 2 commits into from
Closed

Conversation

Liyuzhi123
Copy link

No description provided.

@casbin-bot
Copy link

@Nekotoxin please review

@casbin-bot casbin-bot requested a review from Nekotoxin June 5, 2024 07:57
@CLAassistant
Copy link

CLAassistant commented Jun 5, 2024

CLA assistant check
All committers have signed the CLA.

@Liyuzhi123 Liyuzhi123 changed the title add a "Async" version for this django-orm-adapterAdd files via upload feat: add a "Async" version for this django-orm-adapterAdd files via upload Jun 5, 2024
@Liyuzhi123 Liyuzhi123 closed this Jun 5, 2024
@Liyuzhi123 Liyuzhi123 reopened this Jun 5, 2024
@Liyuzhi123 Liyuzhi123 changed the title feat: add a "Async" version for this django-orm-adapterAdd files via upload fix: cannot call this from an async context - use a thread or sync_to_async Jun 5, 2024
@Liyuzhi123
Copy link
Author

Fix: pycasbin/django-orm-adapter#30

Copy link
Author

@Liyuzhi123 Liyuzhi123 left a comment

Choose a reason for hiding this comment

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

fix: cannot call this from an async context - use a thread or sync_to_async

@Liyuzhi123 Liyuzhi123 changed the title fix: cannot call this from an async context - use a thread or sync_to_async fix: sync_to_async Jun 5, 2024
add a "Async" version for this django-orm-adapter
@hsluoyz
Copy link
Member

hsluoyz commented Jun 6, 2024

The PR is low quality

@hsluoyz hsluoyz closed this Jun 6, 2024
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