Skip to content

Do not import from unpackaged paths in typing#1926

Merged
s-t-e-v-e-n-k merged 1 commit intoPyGithub:masterfrom
nakato:unpackaged_import
Apr 26, 2021
Merged

Do not import from unpackaged paths in typing#1926
s-t-e-v-e-n-k merged 1 commit intoPyGithub:masterfrom
nakato:unpackaged_import

Conversation

@nakato
Copy link
Copy Markdown
Contributor

@nakato nakato commented Apr 23, 2021

The tests path is not part of the shipped project, thus this type cannot
be checked by users of this project.

The correct type in place of the type imported from tests appears to be
Optional[
Union[HTTPRequestsConnectionClass, HTTPSRequestsConnectionClass]
]

The tests path is not part of the shipped project, thus this type cannot
be checked by users of this project.

The correct type in place of the type imported from tests appears to be
Optional[
    Union[HTTPRequestsConnectionClass, HTTPSRequestsConnectionClass]
]
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #1926 (5b40ab1) into master (babcbcd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1926   +/-   ##
=======================================
  Coverage   98.86%   98.86%           
=======================================
  Files         108      108           
  Lines       11060    11060           
=======================================
  Hits        10934    10934           
  Misses        126      126           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update babcbcd...5b40ab1. Read the comment docs.

@s-t-e-v-e-n-k s-t-e-v-e-n-k merged commit 27ba783 into PyGithub:master Apr 26, 2021
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.

3 participants