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

Fix type annotation for cfg-parameter in DataladAuth.__init__() #385

Merged
merged 4 commits into from
May 27, 2023

Conversation

christian-monch
Copy link
Contributor

This PR replaces the faulty CredentialManager annotation for the cfg-parameter of DataladAuth.init() with the correct type, i.e. ConfigManager.

This commit replaces the faulty CredentialManager
annotation for the cfg-parameter of
DataladAuth.__init__() with the correct type,
i.e. ConfigManager.
@christian-monch christian-monch requested a review from mih as a code owner May 26, 2023 22:08
Copy link
Member

@mih mih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I suggested a smal change that I will commit and merge.

datalad_next/utils/requests_auth.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 27, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +70.11 🎉

Comparison is base (c6ac9af) 21.45% compared to head (00208f6) 91.56%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #385       +/-   ##
===========================================
+ Coverage   21.45%   91.56%   +70.11%     
===========================================
  Files         103      103               
  Lines        7686     7967      +281     
===========================================
+ Hits         1649     7295     +5646     
+ Misses       6037      672     -5365     
Impacted Files Coverage Δ
datalad_next/utils/requests_auth.py 93.81% <100.00%> (+93.81%) ⬆️

... and 85 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mih mih merged commit e433d48 into datalad:main May 27, 2023
@christian-monch christian-monch deleted the bf-type-error branch July 16, 2024 10:12
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.

2 participants