async def METHOD_NAME(self, payload: dict, in_edge=None) -> Result:
    dot = self._get_dot_accessor(payload if isinstance(payload, dict) else None)
    result = dot[self.property.trait]
    if self.property.key:
        key = self.property.key.strip()
        if key == "":
            self.console.error("Key is empty")
        return Result(port="trait", value={self.property.key.strip(): result})
    return Result(port="trait", value=result)