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

Add Before and After Hooks for Create, Edit, and Delete Operations #327

Merged
merged 6 commits into from
Oct 28, 2023

Conversation

jowilf
Copy link
Owner

@jowilf jowilf commented Oct 8, 2023

close #287

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

@github-actions github-actions bot temporarily deployed to pull request October 8, 2023 03:37 Inactive
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (63dca61) 100.00% compared to head (139bb34) 100.00%.

❗ Current head 139bb34 differs from pull request most recent head 4c7c5c7. Consider uploading reports for the commit 4c7c5c7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #327    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           72        72            
  Lines         5409      5535   +126     
==========================================
+ Hits          5409      5535   +126     
Files Coverage Δ
starlette_admin/contrib/mongoengine/view.py 100.00% <100.00%> (ø)
starlette_admin/contrib/odmantic/view.py 100.00% <100.00%> (ø)
starlette_admin/contrib/sqla/view.py 100.00% <100.00%> (ø)
starlette_admin/views.py 100.00% <100.00%> (ø)
tests/mongoengine/test_view.py 100.00% <100.00%> (ø)
tests/odmantic/test_async_engine.py 100.00% <100.00%> (ø)
tests/sqla/test_async_engine.py 100.00% <100.00%> (ø)
tests/sqla/test_sync_engine.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot temporarily deployed to pull request October 8, 2023 04:37 Inactive
@jowilf jowilf added this to the 0.12.0 milestone Oct 10, 2023
@jowilf jowilf linked an issue Oct 12, 2023 that may be closed by this pull request
@jowilf jowilf changed the title Add Before and After Hooks for Create, Edit, and Delete Operations Add Before and After Hooks for Create, Edit, and Delete methods Oct 12, 2023
@jowilf jowilf changed the title Add Before and After Hooks for Create, Edit, and Delete methods Add Before and After Hooks for Create, Edit, and Delete Operations Oct 12, 2023
@github-actions github-actions bot temporarily deployed to pull request October 12, 2023 04:34 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 12, 2023 04:43 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 28, 2023 22:59 Inactive
@jowilf jowilf merged commit 696402c into main Oct 28, 2023
6 checks passed
@github-actions github-actions bot temporarily deployed to pull request October 28, 2023 23:51 Inactive
@jowilf jowilf deleted the hooks branch November 6, 2023 06:52
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.

Enhancement: on_model_change feature Enhancement: hook to compute entity attributes on NEW/save & EDIT/save?
1 participant