def inputs(self):
     return {
         "timestamp_folder": File_Txt(self.node.inputs[0]),
         "pathTocredentials":
         ReadDaggitTask_Folderpath(self.node.inputs[1]),
         "categoryLookup": ReadDaggitTask_Folderpath(self.node.inputs[2])
     }
Esempio n. 2
0
 def inputs(self):
     return {
         "DS_DATA_HOME": ReadDaggitTask_Folderpath(self.node.inputs[0]),
         "pathTocredentials":
         ReadDaggitTask_Folderpath(self.node.inputs[1]),
         "localpathTocontentMeta": Pandas_Dataframe(self.node.inputs[2])
     }
Esempio n. 3
0
 def inputs(self):
     return {
         "pathTotaxonomy": Pandas_Dataframe(self.node.inputs[0]),
         "categoryLookup": ReadDaggitTask_Folderpath(self.node.inputs[1]),
         "timestamp_folder": File_Txt(self.node.inputs[2]),
         "pathTocredentials": ReadDaggitTask_Folderpath(self.node.inputs[3])
     }
Esempio n. 4
0
 def inputs(self):
     return {
         "DS_DATA_HOME": ReadDaggitTask_Folderpath(self.node.inputs[0]),
         "pathTocredentials":
         ReadDaggitTask_Folderpath(self.node.inputs[1]),
         "pathTotriggerJson": ReadDaggitTask_Folderpath(self.node.inputs[2])
     }
 def inputs(self):
     return {
         "pathTotaxonomy": Pandas_Dataframe(self.node.inputs[0]),
         "categoryLookup": ReadDaggitTask_Folderpath(self.node.inputs[1]),
         "pathTotimestampfolder":
         ReadDaggitTask_Folderpath(self.node.inputs[2]),
         "pathTocorpus": ReadDaggitTask_Folderpath(self.node.inputs[3])
     }
 def inputs(self):
     return {
         "localpathTocontentMeta": Pandas_Dataframe(self.node.inputs[0]),
         "pathTotaxonomy": Pandas_Dataframe(self.node.inputs[1]),
         "pathToroot": ReadDaggitTask_Folderpath(self.node.inputs[2]),
         "pathTocorpusfolder":
         ReadDaggitTask_Folderpath(self.node.inputs[3])
     }
 def inputs(self):
     return {
         "pathTotimestampfolder":
         ReadDaggitTask_Folderpath(self.node.inputs[0]),
         "pathToobservedtag":
         ReadDaggitTask_Folderpath(self.node.inputs[1]),
         "pathTopredictedtag":
         ReadDaggitTask_Folderpath(self.node.inputs[2])
     }
 def inputs(self):
     return {
         "data1": Pandas_Dataframe(self.node.inputs[0]),
         "data2": Pandas_Dataframe(self.node.inputs[1]),
         "data3": Pandas_Dataframe(self.node.inputs[2]),
         "data4": Pandas_Dataframe(self.node.inputs[3]),
         "models1": ReadDaggitTask_Folderpath(self.node.inputs[4]),
         "models2": ReadDaggitTask_Folderpath(self.node.inputs[5]),
         "models3": ReadDaggitTask_Folderpath(self.node.inputs[6]),
         "models4": ReadDaggitTask_Folderpath(self.node.inputs[7])
     }
Esempio n. 9
0
    def inputs(self):
        """
		Inputs needed to create DTB

		:returns: toc and text files

		"""
        return {
            "toc_csv_file": ReadDaggitTask_Folderpath(self.node.inputs[0]),
            "extract_text_file":
            ReadDaggitTask_Folderpath(self.node.inputs[1]),
        }
    def inputs(self):
        """
		Function that the OcrTextExtraction operator defines while returning graph inputs

		:returns: Inputs to the node of the Auto tagging graph
			DS_DATA_HOME: a localpath where the folders get created
			pathTocredentials: path to config file with credentials 
			pathToPDF: path to PDF file

		"""
        return {
            "DS_DATA_HOME": ReadDaggitTask_Folderpath(self.node.inputs[0]),
            "pathTocredentials":
            ReadDaggitTask_Folderpath(self.node.inputs[1]),
            "pathToPDF": ReadDaggitTask_Folderpath(self.node.inputs[2])
        }
    def inputs(self):
        """
        Function that the ContentToTextRead operator defines while returning graph inputs

        :returns: Inputs to the node of the Auto tagging graph
            DS_DATA_HOME: a localpath where the folders get created
            localpathTocontentMeta: path to content meta
            pathTocredentials: path to config file with credentials 

        """
        return {
            "DS_DATA_HOME":
            ReadDaggitTask_Folderpath(self.node.inputs[0]),
            "localpathTocontentMeta":
            ReadDaggitTask_Folderpath(self.node.inputs[1]),
            "pathTocredentials":
            ReadDaggitTask_Folderpath(self.node.inputs[2])
        }
 def inputs(self):
     return {
         "localpathTocontentMeta":
         ReadDaggitTask_Folderpath(self.node.inputs[0]),
         "pathTotaxonomy":
         Pandas_Dataframe(self.node.inputs[1]),
         "path_to_timestampFolder":
         File_Txt(self.node.inputs[2])
     }
 def inputs(self):
     return {
         "pathTotaxonomy": Pandas_Dataframe(self.node.inputs[0]),
         "pathTocontents": ReadDaggitTask_Folderpath(self.node.inputs[1])
     }
Esempio n. 14
0
 def inputs(self):
     return [
         os.path.dirname(ReadDaggitTask_Folderpath(x).read_loc())
         for x in self.node.inputs
     ]
Esempio n. 15
0
 def outputs(self):
     return {
         "models_dir":
         os.path.dirname(
             ReadDaggitTask_Folderpath(self.node.outputs[0]).read_loc())
     }
Esempio n. 16
0
 def inputs(self):
     return {
         "pathTocredentials":
         ReadDaggitTask_Folderpath(self.node.inputs[0]),
         "pathTocontentMeta": File_Txt(self.node.inputs[1])
     }
Esempio n. 17
0
 def inputs(self):
     return {"features": Pandas_Dataframe(self.node.inputs[0]),
             "split": Pandas_Dataframe(self.node.inputs[1]),
             "modelgrids": [os.path.dirname(ReadDaggitTask_Folderpath(x).read_loc())
                            for x in self.node.inputs][2:]}
 def inputs(self):
     return {
         "pathTotimestampfolder":
         ReadDaggitTask_Folderpath(self.node.inputs[0])
     }
Esempio n. 19
0
 def outputs(self):
     return {"models": ReadDaggitTask_Folderpath(self.node.outputs[0])}