Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ _get_kind
Function
_get_kind
extra/get_issues.py:47–52 ·
view source on GitHub ↗
(issue)
Source
from the content-addressed store, hash-verified
45
46
47
def
_get_kind(issue):
48
labels = [label[
"name"
]
for
label in issue[
"labels"
]]
49
for
key in (
"bug"
,
"enhancement"
,
"proposal"
):
50
if
key in labels:
51
return
key
52
return
"issue"
53
54
55
def
report(issues):
Callers
1
report
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected