Skip to content

Conversation

vzts
Copy link
Contributor

@vzts vzts commented Oct 23, 2019

First of all, thank you for this wonderful library!
I have some general suggestions on the code. Too many ifs were kind of bothering.
I've run the tests and it worked well.

Also, could you please release v0.1.0? I think it's ready.
I need remove_filtered_policy function that was recently implemented, but it's not on pypi yet...

@leeqvip
Copy link
Contributor

leeqvip commented Oct 23, 2019

In addition, can you merge the two commits into one?

@vzts
Copy link
Contributor Author

vzts commented Oct 24, 2019

To be conservative and safe, I was trying to make a equivalence to the previous code.
But now I think we should just write the correct code.
I think there are currently many blind spots for handling empty string field, so I created casbin/casbin#316 in main repo. I will wait for the answer and give a proper update.

@vzts vzts changed the title More efficient ORM manipulation Improve Efficiency Oct 24, 2019
@vzts
Copy link
Contributor Author

vzts commented Oct 25, 2019

Hello, could you please check if the latest update is good to go? Thank you.

@vzts vzts mentioned this pull request Oct 25, 2019
@leeqvip leeqvip merged commit a2117b8 into pycasbin:master Oct 25, 2019
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