fmeobjects.FMESession.getSchemaFeatures

FMESession.getSchemaFeatures(macros, prefix, schemaFile, schemaFeatures)

Retrieves the schema features defined in the DEF lines that are prefixed with ‘prefix’ in the ‘schemaFile’.

Parameters:
  • macros (list[str] or dict) – Name-value pairs that define values for each macro used in the ‘schemaFile’.
  • prefix (str) – Prefix used to retrieve schema features.
  • schemaFile (str) – The file name of the file containing the schema features.
Return type:

list[FMEFeature]

Raises:

FMEException – An exception is raised if there was a problem retrieving the schema features.