Skip to content

Add generic API functions, split org/user info - #37

Merged
lkubb merged 1 commit into
mainfrom
tests-updates
Oct 14, 2026
Merged

lkubb merged 1 commit into
mainfrom
tests-updates

Conversation

@lkubb

@lkubb lkubb commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds generic API functions (github.query/github.rate_limit, adds github_user module with info (read user accounts only, unspecified => token user) and list_keys funcs, splits off an org-specific github_org.info (read org accounts only, unspecified => owner if that is an org) and a generic github.account_info for querying arbitrary account types (defaults to owner or token user).

Merge requirements satisfied?

[NOTICE] Bug fixes or new features require tests.

Commits signed with GPG?

Yes

@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.69%. Comparing base (d311338) to head (185b917).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   96.62%   96.69%   +0.07%     
==========================================
  Files         122      132      +10     
  Lines        7488     7657     +169     
  Branches      532      535       +3     
==========================================
+ Hits         7235     7404     +169     
  Misses        213      213              
  Partials       40       40              
Flag Coverage Δ
Linux 96.69% <100.00%> (+0.07%) ⬆️
macOS 96.69% <100.00%> (+0.07%) ⬆️
project 95.22% <100.00%> (+0.07%) ⬆️
py310 87.09% <97.91%> (+0.23%) ⬆️
py311 87.09% <97.91%> (+0.23%) ⬆️
py314 96.65% <100.00%> (+0.07%) ⬆️
salt_3006_27 87.09% <97.91%> (+0.23%) ⬆️
salt_3008_2 96.65% <100.00%> (+0.07%) ⬆️
tests 97.52% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lkubb
lkubb merged commit 5375ae4 into main Oct 14, 2026
16 checks passed
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.

1 participant