Jak uzyskać dostęp do funkcji zdefiniowanej w modelach szyn

NameOfModel.function_name should give you access to the function.
Easy Eel