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

pycasbin / sqlalchemy-adapter / 9841077638
92%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2024 02:02PM UTC
Jobs 3
Files 2
Run time 1min
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

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

61 of 65 new or added lines in 1 file covered. (93.85%)

206 of 224 relevant lines covered (91.96%)

2.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
91.93
0.12% casbin_sqlalchemy_adapter/adapter.py
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest - 3.11 - 9841077638.1 08 Jul 2024 02:03PM UTC 2
91.96
GitHub Action Run
2 ubuntu-latest - 3.10 - 9841077638.2 08 Jul 2024 02:03PM UTC 2
91.96
GitHub Action Run
3 ubuntu-latest - 3.12 - 9841077638.3 08 Jul 2024 02:03PM UTC 2
91.96
GitHub Action Run
Source Files on build 9841077638
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8911c168 on github
  • Prev Build on master (#9820064730)
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