add docstring

This commit is contained in:
Jakub Trllo 2024-04-09 17:28:49 +02:00
parent 43b4be851e
commit 84f8a61cc6

View file

@ -162,6 +162,15 @@ class LoaderPlugin(list):
@classmethod
def get_representations(cls):
"""Representation names with which is plugin compatible.
Empty set makes the plugin incompatible with any representation. To
allow compatibility with all representations use '{"*"}'.
Returns:
set[str]: Names with which is plugin compatible.
"""
return cls.representations
@classmethod