human
I wrote the below code

    enum_meta = extract_node("\n                class    EnumMeta(object):\n                                'docstring'\n                                def    __call__(self,    node):\n                                                class    EnumAttribute(object):\n                                                                name    =    ''\n                                                                value    =    0\n                                                return    EnumAttribute()\n                ")
    class_node = infer_func_form(node, enum_meta, context=context, enum=True)[0]
    return iter([class_node.instantiate_class()])

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def infer_enum(node, context=None):