MCPcopy Create free account
hub / github.com/ipython/ipython / issues2dict

Function issues2dict

tools/github_stats.py:45–50  ·  view source on GitHub ↗

Convert a list of issues to a dict, keyed by issue number.

(issues)

Source from the content-addressed store, hash-verified

43 return datetime.fromtimestamp(0)
44
45def issues2dict(issues):
46 """Convert a list of issues to a dict, keyed by issue number."""
47 idict = {}
48 for i in issues:
49 idict[i['number']] = i
50 return idict
51
52def split_pulls(all_issues, project="ipython/ipython"):
53 """split a list of closed issues into non-PR Issues and Pull Requests"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected