Skip to content

Commit

Permalink
remove GitHub token
Browse files Browse the repository at this point in the history
  • Loading branch information
karacolada committed Aug 2, 2023
1 parent 4035ee4 commit e677008
Showing 1 changed file with 0 additions and 69 deletions.
69 changes: 0 additions & 69 deletions analysis/github.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2561,75 +2561,6 @@
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
"from github import Github\n",
"\n",
"g = Github(\"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\")"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"datetime.datetime(2020, 2, 2, 21, 31, 2)"
]
},
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"repo = g.get_repo(\"jlillo/tpfplotter\")\n",
"repo.created_at"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
"issues = repo.get_issues(state=\"all\")"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(Issue(title=\"astropy.units.core.UnitTypeError: Can only apply 'log10' function to dimensionless quantities\", number=11), None)\n",
"(Issue(title=\"Can't run the demo code line\", number=10), None)\n",
"(Issue(title=\"get_gaia_data with arcsecs radius as input\", number=9), None)\n",
"(Issue(title=\"Issue running example from tpfplotter documentation\", number=8), None)\n",
"(Issue(title=\"ValueError: 'bottom' is not a valid value for origin; supported values are 'upper', 'lower'\", number=7), None)\n",
"(Issue(title=\"TPF using coordinates\", number=6), None)\n",
"(Issue(title=\"Fix direction arrows\", number=5), <github.IssuePullRequest.IssuePullRequest object at 0x7f28799236d0>)\n",
"(Issue(title=\"Revert \"Fixes issue #2 in tpfplotter\"\", number=4), <github.IssuePullRequest.IssuePullRequest object at 0x7f2879934210>)\n",
"(Issue(title=\"Fixes issue #2 in tpfplotter\", number=3), <github.IssuePullRequest.IssuePullRequest object at 0x7f2879934d90>)\n",
"(Issue(title=\"Wrong target being found by tpfplotter\", number=2), None)\n",
"(Issue(title=\"AttributeError: 'NoneType' object has no attribute 'flux'\", number=1), None)\n"
]
}
],
"source": [
"for i in issues:\n",
" print((i, i.pull_request))"
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down

0 comments on commit e677008

Please sign in to comment.