2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

remove title

This commit is contained in:
Matthias Mair 2022-01-19 00:43:51 +01:00
parent f69435db7c
commit f847108af6

View File

@ -49,7 +49,7 @@ from plugin.mixins import APICallMixin, SettingsMixin, ScheduleMixin, BarcodeMix
### A simple example ### A simple example
This example adds a new action under `/api/action/sample` using the ActionMixin. This example adds a new action under `/api/action/sample` using the ActionMixin.
``` py title="sampleactionplugin.py" ``` py
# -*- coding: utf-8 -*- # (1) # -*- coding: utf-8 -*- # (1)
"""sample implementation for ActionPlugin""" # (2) """sample implementation for ActionPlugin""" # (2)
from plugin import IntegrationPluginBase from plugin import IntegrationPluginBase