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

feat: add adapter execution functions #3

Closed
wants to merge 2 commits into from

Conversation

wu-clan
Copy link
Contributor

@wu-clan wu-clan commented Jan 6, 2024

WIP.

@casbin-bot
Copy link

@Nekotoxin please review

@casbin-bot casbin-bot requested a review from Nekotoxin January 6, 2024 10:45
@wu-clan wu-clan force-pushed the add-adapter-funcs branch from 8d83da3 to 4e09d60 Compare January 6, 2024 12:46
@wu-clan wu-clan changed the title Add adapter operation functions feat: add adapter execution functions Jan 6, 2024
@@ -98,6 +98,10 @@ async def _delete_policy_lines(self, ptype, rule):
else:
await self.client.lrem(self.key, 0, json.dumps(line.dict()))

async def _update_policy_line(self, ptype, old_rule, new_rule):
# TODO
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, @BustDot

Can you help with this?

I'm trying to migrate async-sqlalchemy-adapter to async-redis-adapter, but I'm missing some execution functions. I've added some, but this function is beyond my reach.

Copy link
Member

Choose a reason for hiding this comment

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

@wu-clan he may be very busy to help on this. Can you do it with the help of ChatGPT? Or @leeqvip can you help on this?

@hsluoyz
Copy link
Member

hsluoyz commented Jan 6, 2024

@wu-clan plz fix conflict:

image

@hsluoyz
Copy link
Member

hsluoyz commented Apr 11, 2024

Replaced by: #6

@hsluoyz hsluoyz closed this Apr 11, 2024
@wu-clan wu-clan deleted the add-adapter-funcs branch April 11, 2024 17:33
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.

3 participants