File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed
datapackage_pipelines/web/templates Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -291,10 +291,11 @@ <h1 class="panel-title">
291291 $ . get ( "{{ url_for('dpp.main') }}" + "api/" + field + "/" + pipeline_id ,
292292 function ( data ) {
293293 text = data . text ;
294- contents = '<pre> ' ;
294+ contents = '' ;
295295 for ( i = 0 ; i < text . length ; i ++ ) contents += text [ i ] + '\n' ;
296- contents = contents + '</pre>' ;
297- target . html ( contents ) ;
296+ contentsPre = $ ( '<pre>' ) ;
297+ contentsPre . text ( contents ) ;
298+ target . html ( '' ) . append ( contentsPre ) ;
298299 target . attr ( 'data-full' , true ) ;
299300 } , 'json' ) ;
300301 }
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ def read(*paths):
4141 'globster>=0.1.0' ,
4242 'dataflows>=0.0.65' ,
4343 'python-dateutil<2.8.1' ,
44+ 'werkzeug<1.0'
4445]
4546SPEEDUP_REQUIRES = [
4647 'dataflows[speedup]' ,
Original file line number Diff line number Diff line change 1+ from dataflows import Flow
2+ import logging
3+
4+
5+ class MyClass ():
6+ pass
7+
8+
9+ def flow (* _ ):
10+ logging .info ('my_object=' + str (MyClass ()))
11+ return Flow ()
Original file line number Diff line number Diff line change 1+ html-output :
2+ pipeline :
3+ - flow : html_output
You can’t perform that action at this time.
0 commit comments