• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pycasbin / sqlalchemy-adapter / 9841077638 / 3
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2024 02:03PM UTC
Files 2
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2024 02:02PM UTC coverage: 91.964% (+0.1%) from 91.86%
9841077638.3

push

github

web-flow
feat: support for soft deletion of casbin rules (#72)

* feat: add support for soft deletion of casbin rules

* refactor: improve reusability of test case

* fix: type hints

* test: soft delete

* chore: updated .gitignore

* refactor: pass the sqlalchemy attribute itself instead of the attribute name string

* test: softdelete flag in database

* refactor: save_policy
          - load rules from db before making changes
          - improved comments

* test: save_policy softdelete strategy

* fix: formatted code with black

* fix: do not create test.db by default

* fix: units tests for CI/CD pipeline

* docs: added Soft Delete example

* fix: make sure softdelete filter is applied

* docs: make usage of  explicit

* docs: moved softdelete logic into base class

* docs: improvement

* feat: validate the type of db_class_softdelete_attribute

* fix: default value of is_deleted flag

206 of 224 relevant lines covered (91.96%)

0.92 hits per line

Source Files on job ubuntu-latest - 3.12 - 9841077638.3
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9841077638
  • 8911c168 on github
  • Prev Job for on master (#9820064730.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc