Skip to content

Commit

Permalink
Added pipeline factory reset function
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Ruths committed Apr 7, 2017
1 parent 016eef7 commit 6b89c82
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions xp/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ def normalize_pipeline_fname(pipeline_fname):
_pipelines = {}
_under_construction = set()

def reset_pipeline_factory():
"""
Wipe out any knowledge of the pipeline factory about any pipelines it knows about.
"""
_pipelines = {}
_under_construction = {}

return

def get_pipeline(filename,default_prefix=(DIR_PREFIX,None)):

# resolve filename to canonical absolute path
Expand Down

0 comments on commit 6b89c82

Please sign in to comment.