1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-05-02 00:11:31 +03:00

[Docs] Update PLUGINS.md on how to use common functions

This commit is contained in:
David Sangrey 2025-04-18 01:02:28 -04:00
parent 08bfbe1582
commit a93389c3d4
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -153,6 +153,16 @@ See [#1327 - ModuleNotFound when creating a new plugin.](https://github.com/EDCD
for some discussion.
## Common Resources
Some plugins may wish to use resources available in a different plugin, or use
common assets across plugins. This is possible, however care must be taken to
ensure that the plugins do not attempt to load non-existent data or create
circular imports.
For an example of how this is done, look at the code in `plugins/common_coreutils.py`
and the usage of these functions in other core plugins.
---
## Logging