docs: def get_inlines(self, obj):
          """
          Some plugin can store data in related models
          This method supposed to fetch data from database for all inline models listed in inlines parameter of plugin
          prepare and return together with parent object
          :param obj:
          :return:
          """
          plugin = obj.get_plugin_class()
          inlines = getattr(plugin, 'inlines', [])
          data = {}
          for inline in inlines:
              for related_object in obj._meta.related_objects:
                  if getattr(related_object, 'related_model', None) == inline.model:
                      name = related_object.name
                      serializer = get_serializer(
                          getattr(obj, name).all(), model=inline.model, many=True, context=self.context)
                      data[name] = serializer.data
                      break
          return data