@classmethod
def find_publish_function(cls, field_name, default_function):
    '\n                Search to see if there is a function to copy the given field over.\n                Function should take same params as setattr()\n            '
    for clazz in cls.__mro__:
        publish_functions = getattr(clazz, 'publish_functions', {})
        fn = publish_functions.get(field_name, None)
        if fn:
            return fn
    return default_function
Search to see if there is a function to copy the given field over.
Function should take same params as setattr()
@classmethod
def find_publish_function(cls, field_name, default_function):
    '\n                Search to see if there is a function to copy the given field over.\n                Function should take same params as setattr()\n            '
    for clazz in cls.__mro__:
        publish_functions = getattr(clazz, 'publish_functions', {})
        fn = publish_functions.get(field_name, None)
        if fn:
            return fn
    return default_function