According to the error message, there is no method input(self, feature) in your Python code.
This method is present when you open a new PythonCreator, so you may have removed it.
import fmeobjects
classFeatureCreator(object):"""Template Class Interface:
When using this class, make sure its name is set as the value of the 'Class to Process Features'
transformer parameter.
"""def__init__(self):"""Base constructor for class members."""passdefinput(self, feature: fmeobjects.FMEFeature):"""This method is called once by FME to initiate feature creation.
Any number of features can be created and emitted by the self.pyoutput() method.
The initial feature argument is a placeholder and can be ignored.
"""
newFeature = fmeobjects.FMEFeature()
self.pyoutput(newFeature)
defclose(self):"""This method is called at the end of the class."""pass
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.