Skip to content

Commit 61cb3ec

Browse files
authored
Merge branch 'master' into hwine/doc-fix
2 parents 5895f81 + 9b4f6fe commit 61cb3ec

21 files changed

+493
-276
lines changed

00_core.ipynb

Lines changed: 283 additions & 175 deletions
Large diffs are not rendered by default.

01_actions.ipynb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
"outputs": [],
2626
"source": [
2727
"#export\n",
28-
"from fastcore.utils import *\n",
29-
"from fastcore.script import *\n",
30-
"from fastcore.foundation import *\n",
31-
"from fastcore.meta import *\n",
28+
"from fastcore.all import *\n",
3229
"from ghapi.core import *\n",
3330
"from ghapi.templates import *\n",
3431
"\n",

02_auth.ipynb

Lines changed: 53 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": null,
5+
"execution_count": 1,
66
"metadata": {},
77
"outputs": [],
88
"source": [
@@ -19,13 +19,12 @@
1919
},
2020
{
2121
"cell_type": "code",
22-
"execution_count": null,
22+
"execution_count": 2,
2323
"metadata": {},
2424
"outputs": [],
2525
"source": [
2626
"#export\n",
27-
"from fastcore.utils import *\n",
28-
"from fastcore.foundation import *\n",
27+
"from fastcore.all import *\n",
2928
"from ghapi.core import *\n",
3029
"\n",
3130
"import webbrowser,time\n",
@@ -41,7 +40,7 @@
4140
},
4241
{
4342
"cell_type": "code",
44-
"execution_count": null,
43+
"execution_count": 3,
4544
"metadata": {},
4645
"outputs": [],
4746
"source": [
@@ -56,7 +55,7 @@
5655
},
5756
{
5857
"cell_type": "code",
59-
"execution_count": null,
58+
"execution_count": 4,
6059
"metadata": {},
6160
"outputs": [],
6261
"source": [
@@ -66,7 +65,7 @@
6665
},
6766
{
6867
"cell_type": "code",
69-
"execution_count": null,
68+
"execution_count": 5,
7069
"metadata": {},
7170
"outputs": [],
7271
"source": [
@@ -78,7 +77,7 @@
7877
},
7978
{
8079
"cell_type": "code",
81-
"execution_count": null,
80+
"execution_count": 6,
8281
"metadata": {},
8382
"outputs": [
8483
{
@@ -87,7 +86,7 @@
8786
"'repo,admin:public_key,public_repo'"
8887
]
8988
},
90-
"execution_count": null,
89+
"execution_count": 6,
9190
"metadata": {},
9291
"output_type": "execute_result"
9392
}
@@ -105,17 +104,17 @@
105104
},
106105
{
107106
"cell_type": "code",
108-
"execution_count": null,
107+
"execution_count": 10,
109108
"metadata": {},
110109
"outputs": [],
111110
"source": [
112111
"#export\n",
113-
"_def_clientid = '771f3c3af93face45f52'"
112+
"_def_clientid = '71604a89b882ab8c8634'"
114113
]
115114
},
116115
{
117116
"cell_type": "code",
118-
"execution_count": null,
117+
"execution_count": 11,
119118
"metadata": {},
120119
"outputs": [],
121120
"source": [
@@ -140,16 +139,16 @@
140139
},
141140
{
142141
"cell_type": "code",
143-
"execution_count": null,
142+
"execution_count": 13,
144143
"metadata": {},
145144
"outputs": [
146145
{
147146
"data": {
148147
"text/plain": [
149-
"('466da70dae0a30102cd6df6436b57a6a5c58701a', 'CA0C-C4AE')"
148+
"('62956bc850018fb2e5c4b62501df72bbe5583a5a', '247D-B1A6')"
150149
]
151150
},
152-
"execution_count": null,
151+
"execution_count": 13,
153152
"metadata": {},
154153
"output_type": "execute_result"
155154
}
@@ -161,7 +160,7 @@
161160
},
162161
{
163162
"cell_type": "code",
164-
"execution_count": null,
163+
"execution_count": 14,
165164
"metadata": {},
166165
"outputs": [],
167166
"source": [
@@ -182,14 +181,14 @@
182181
},
183182
{
184183
"cell_type": "code",
185-
"execution_count": null,
184+
"execution_count": 15,
186185
"metadata": {},
187186
"outputs": [
188187
{
189188
"name": "stdout",
190189
"output_type": "stream",
191190
"text": [
192-
"First copy your one-time code: CA0C-C4AE\n",
191+
"First copy your one-time code: 247D-B1A6\n",
193192
"Then visit https://github.com/login/device in your browser, and paste the code when prompted.\n"
194193
]
195194
}
@@ -200,7 +199,7 @@
200199
},
201200
{
202201
"cell_type": "code",
203-
"execution_count": null,
202+
"execution_count": 16,
204203
"metadata": {},
205204
"outputs": [],
206205
"source": [
@@ -220,7 +219,7 @@
220219
},
221220
{
222221
"cell_type": "code",
223-
"execution_count": null,
222+
"execution_count": 17,
224223
"metadata": {},
225224
"outputs": [],
226225
"source": [
@@ -247,7 +246,7 @@
247246
},
248247
{
249248
"cell_type": "code",
250-
"execution_count": null,
249+
"execution_count": 18,
251250
"metadata": {},
252251
"outputs": [
253252
{
@@ -264,7 +263,7 @@
264263
},
265264
{
266265
"cell_type": "code",
267-
"execution_count": null,
266+
"execution_count": 19,
268267
"metadata": {},
269268
"outputs": [],
270269
"source": [
@@ -294,7 +293,7 @@
294293
},
295294
{
296295
"cell_type": "code",
297-
"execution_count": null,
296+
"execution_count": 20,
298297
"metadata": {},
299298
"outputs": [],
300299
"source": [
@@ -304,7 +303,7 @@
304303
},
305304
{
306305
"cell_type": "code",
307-
"execution_count": null,
306+
"execution_count": 21,
308307
"metadata": {},
309308
"outputs": [],
310309
"source": [
@@ -333,14 +332,14 @@
333332
},
334333
{
335334
"cell_type": "code",
336-
"execution_count": null,
335+
"execution_count": 22,
337336
"metadata": {},
338337
"outputs": [
339338
{
340339
"name": "stdout",
341340
"output_type": "stream",
342341
"text": [
343-
"First copy your one-time code: \u001b[33mDD47-0B67\u001b[m\n",
342+
"First copy your one-time code: \u001b[33m4ACE-3C18\u001b[m\n",
344343
"Then visit https://github.com/login/device in your browser, and paste the code when prompted.\n",
345344
"Waiting for authorization...Authentication not complete!\n"
346345
]
@@ -359,7 +358,7 @@
359358
},
360359
{
361360
"cell_type": "code",
362-
"execution_count": null,
361+
"execution_count": 23,
363362
"metadata": {},
364363
"outputs": [
365364
{
@@ -375,8 +374,7 @@
375374
"Converted 50_fullapi.ipynb.\n",
376375
"Converted 80_tutorial_actions.ipynb.\n",
377376
"Converted 90_build_lib.ipynb.\n",
378-
"Converted Untitled.ipynb.\n",
379-
"Converted ghapi demo.ipynb.\n",
377+
"Converted ghapi_demo.ipynb.\n",
380378
"Converted index.ipynb.\n"
381379
]
382380
}
@@ -397,9 +395,34 @@
397395
],
398396
"metadata": {
399397
"kernelspec": {
400-
"display_name": "Python 3",
398+
"display_name": "Python 3 (ipykernel)",
401399
"language": "python",
402400
"name": "python3"
401+
},
402+
"language_info": {
403+
"codemirror_mode": {
404+
"name": "ipython",
405+
"version": 3
406+
},
407+
"file_extension": ".py",
408+
"mimetype": "text/x-python",
409+
"name": "python",
410+
"nbconvert_exporter": "python",
411+
"pygments_lexer": "ipython3",
412+
"version": "3.9.10"
413+
},
414+
"toc": {
415+
"base_numbering": 1,
416+
"nav_menu": {},
417+
"number_sections": false,
418+
"sideBar": true,
419+
"skip_h1_title": false,
420+
"title_cell": "Table of Contents",
421+
"title_sidebar": "Contents",
422+
"toc_cell": false,
423+
"toc_position": {},
424+
"toc_section_display": true,
425+
"toc_window_display": false
403426
}
404427
},
405428
"nbformat": 4,

03_page.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
"outputs": [],
2626
"source": [
2727
"#export\n",
28-
"from fastcore.utils import *\n",
29-
"from fastcore.foundation import *\n",
28+
"from fastcore.all import *\n",
3029
"from ghapi.core import *\n",
3130
"\n",
3231
"import re\n",

04_event.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"outputs": [],
2626
"source": [
2727
"#export\n",
28-
"from fastcore.utils import *\n",
29-
"from fastcore.foundation import *\n",
30-
"from fastcore.meta import *\n",
28+
"from fastcore.all import *\n",
3129
"from ghapi.core import *\n",
3230
"from ghapi.page import *\n",
3331
"from ghapi.actions import *\n",

10_cli.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"outputs": [],
1717
"source": [
1818
"#export\n",
19-
"from fastcore.utils import *\n",
20-
"from fastcore.foundation import *\n",
19+
"from fastcore.all import *\n",
2120
"import ghapi.core as gh,inspect\n",
2221
"from ghapi.core import *\n",
2322
"from collections import defaultdict"

80_tutorial_actions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"outputs": [],
4444
"source": [
4545
"from ghapi.all import *\n",
46-
"from fastcore.utils import *"
46+
"from fastcore.all import *"
4747
]
4848
},
4949
{

90_build_lib.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"outputs": [],
1717
"source": [
1818
"#export\n",
19-
"from fastcore.utils import *\n",
20-
"from fastcore.foundation import *\n",
19+
"from fastcore.all import *\n",
2120
"\n",
2221
"import pprint\n",
2322
"# from json import loads\n",
@@ -182,7 +181,7 @@
182181
"name": "stdout",
183182
"output_type": "stream",
184183
"text": [
185-
"Converted 000_core.ipynb.\n",
184+
"Converted 00_core.ipynb.\n",
186185
"Converted 01_actions.ipynb.\n",
187186
"Converted 02_auth.ipynb.\n",
188187
"Converted 03_page.ipynb.\n",
@@ -191,6 +190,7 @@
191190
"Converted 50_fullapi.ipynb.\n",
192191
"Converted 80_tutorial_actions.ipynb.\n",
193192
"Converted 90_build_lib.ipynb.\n",
193+
"Converted Untitled.ipynb.\n",
194194
"Converted ghapi_demo.ipynb.\n",
195195
"Converted index.ipynb.\n"
196196
]
@@ -212,7 +212,7 @@
212212
],
213213
"metadata": {
214214
"kernelspec": {
215-
"display_name": "Python 3",
215+
"display_name": "Python 3 (ipykernel)",
216216
"language": "python",
217217
"name": "python3"
218218
}

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
<!-- do not remove -->
44

5+
## 0.1.23
6+
7+
8+
9+
10+
## 0.1.23
11+
12+
13+
14+
15+
## 0.1.21
16+
17+
### Bugs Squashed
18+
19+
- fix `create_gist`
20+
21+
522
## 0.1.20
623

724
### New Features

ghapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.21"
1+
__version__ = "0.1.23"

0 commit comments

Comments
 (0)