Skip to content

feat: export register_action function at top level#170

Merged
tlambert03 merged 4 commits intopyapp-kit:mainfrom
tlambert03:export-register_app
Dec 21, 2023
Merged

feat: export register_action function at top level#170
tlambert03 merged 4 commits intopyapp-kit:mainfrom
tlambert03:export-register_app

Conversation

@tlambert03
Copy link
Copy Markdown
Member

@tlambert03 tlambert03 commented Dec 21, 2023

This adds the functional form of register_action (the one that supports decorator usage) as a top level export.

It also adds the full overload to the Application.register_action method. This isn't technically adding a new form or new functionality, just exposing it

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (04fa3f8) 100.00% compared to head (b54a15f) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #170   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           31        31           
  Lines         1780      1785    +5     
=========================================
+ Hits          1780      1785    +5     

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

@tlambert03 tlambert03 added the enhancement New feature or request label Dec 21, 2023
@tlambert03 tlambert03 merged commit 8710711 into pyapp-kit:main Dec 21, 2023
@tlambert03 tlambert03 deleted the export-register_app branch December 21, 2023 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant