now.executor.preprocessor.executor module#

now.executor.preprocessor.executor.move_uri(d)[source]#
Return type

Document

class now.executor.preprocessor.executor.NOWPreprocessor(max_workers=15, *args, **kwargs)[source]#

Bases: NOWAuthExecutor

Applies preprocessing to documents for encoding, indexing and searching as defined by app. If necessary, downloads files for that from cloud bucket.

Parameters
  • user_input_dict – kwargs to construct UserInput

  • admin_email – ID of the user deploying this flow. ID is obtained from Hubble

  • user_emails – Comma separated Email IDs of the allowed users with access to this flow. The Email ID from the incoming request to this flow will be verified against this.

  • pats – List of PATs of the allowed users with access to this flow.

preprocess(**kwargs)#