mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge branch 'develop' into mkdocs
This commit is contained in:
commit
b22f07fea5
2 changed files with 1 additions and 26 deletions
|
|
@ -1,17 +0,0 @@
|
||||||
# Deprecated file
|
|
||||||
# - the file container 'WeakMethod' implementation for Python 2 which is not
|
|
||||||
# needed anymore.
|
|
||||||
import warnings
|
|
||||||
import weakref
|
|
||||||
|
|
||||||
|
|
||||||
WeakMethod = weakref.WeakMethod
|
|
||||||
|
|
||||||
warnings.warn(
|
|
||||||
(
|
|
||||||
"'ayon_core.lib.python_2_comp' is deprecated."
|
|
||||||
"Please use 'weakref.WeakMethod'."
|
|
||||||
),
|
|
||||||
DeprecationWarning,
|
|
||||||
stacklevel=2
|
|
||||||
)
|
|
||||||
|
|
@ -13,15 +13,7 @@ from .utils import get_representation_path_from_context
|
||||||
|
|
||||||
|
|
||||||
class LoaderPlugin(list):
|
class LoaderPlugin(list):
|
||||||
"""Load representation into host application
|
"""Load representation into host application"""
|
||||||
|
|
||||||
Arguments:
|
|
||||||
context (dict): avalon-core:context-1.0
|
|
||||||
|
|
||||||
.. versionadded:: 4.0
|
|
||||||
This class was introduced
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
product_types = set()
|
product_types = set()
|
||||||
representations = set()
|
representations = set()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue