fix openpype imports

This commit is contained in:
Jakub Trllo 2024-02-05 16:02:14 +01:00
parent ee6e42ec6c
commit 0508cd986a
133 changed files with 170 additions and 170 deletions

View file

@ -295,7 +295,7 @@ class ActionItem:
# prepared for it.
raise NotImplementedError(
"{}.to_data is not implemented. Use Attribute definitions"
" from 'openpype.lib' instead of 'qargparse'.".format(
" from 'ayon_core.lib' instead of 'qargparse'.".format(
self.__class__.__name__
)
)

View file

@ -34,7 +34,7 @@ class LoaderActionsModel:
"""Model for loader actions.
This is probably only part of models that requires to use codebase from
'openpype.client' because of backwards compatibility with loaders logic
'ayon_core.client' because of backwards compatibility with loaders logic
which are expecting mongo documents.
TODOs:

View file

@ -10,7 +10,7 @@ from ayon_core.lib import (
from ayon_core.pipeline import LauncherAction
# TODO move to 'openpype.pipeline.actions'
# TODO move to 'ayon_core.pipeline.actions'
# - remove Qt related stuff and implement exceptions to show error in launcher
class ApplicationAction(LauncherAction):
"""Pype's application launcher

View file

@ -524,7 +524,7 @@ class PypeInfoSubWidget(QtWidgets.QWidget):
info_layout.addWidget(
QtWidgets.QLabel("OpenPype Addon:"), row, 0, 1, 1
)
value_label = QtWidgets.QLabel(openpype.version.__version__)
value_label = QtWidgets.QLabel(ayon_core.version.__version__)
value_label.setTextInteractionFlags(
QtCore.Qt.TextSelectableByMouse
)

View file

@ -602,7 +602,7 @@ class TrayManager:
if AYON_SERVER_ENABLED:
version_string = os.getenv("AYON_VERSION", "AYON Info")
else:
version_string = openpype.version.__version__
version_string = ayon_core.version.__version__
if subversion:
version_string += " ({})".format(subversion)