From 305f9f2dfb30c1148889da1cbba06bfef42725da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Koutensk=C3=BD?= Date: Wed, 21 Feb 2018 16:01:26 +0100 Subject: [PATCH] Document 'early_import_stages' in the docs --- docs/dev/plugins.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/dev/plugins.rst b/docs/dev/plugins.rst index 4d41c8971..5b0e4d08b 100644 --- a/docs/dev/plugins.rst +++ b/docs/dev/plugins.rst @@ -432,6 +432,11 @@ to register it:: def stage(self, session, task): print('Importing something!') +It is also possible to request your function to run early in the pipeline by +adding the function to the plugin's ``early_import_stages`` field instead.:: + + self.early_import_stages = [self.stage] + .. _extend-query: Extend the Query Syntax