Skip to content

Commit a4bd45d

Browse files
committed
Update changelog and detect jupyter components with no ipynb files
Added deployment manager plugin that can deploy jupyter notebooks. PNDA-2233
1 parent 3721e0b commit a4bd45d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [x.x.x] xxxx-xx-xx
5+
### Added
6+
- PNDA-2233 Jupyter notebook plugin added to deployment manager
7+
48
## [0.1.1] 2016-09-13
59
### Changes
610
- Improvements to documentation

api/src/main/resources/plugins/jupyter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ class JupyterCreator(Creator):
3434

3535
def validate_component(self, component):
3636
errors = []
37+
notebook_found = False
3738
file_list = component['component_detail']
3839
for file_name in file_list:
3940
if file_name.endswith(r'.ipynb'):
4041
notebook_found = True
4142

42-
if not notebook_found:
43+
if notebook_found is False:
4344
errors.append('missing ipynb file')
4445

4546
return errors

0 commit comments

Comments
 (0)