1
1
Fork 0

👽️ Update SDK imports with new structure

develop
corentin 10 months ago
parent b63738e9ec
commit 8d92ebd14f
  1. 2
      apps/center/app.py
  2. 2
      apps/center/ui/admin/annoucements.py
  3. 2
      apps/center/ui/admin/config/server.py
  4. 2
      apps/center/ui/admin/users/edit.py
  5. 2
      apps/center/ui/admin/users/list.py
  6. 2
      apps/center/ui/home/projects/list.py
  7. 2
      apps/center/ui/home/projects/new.py
  8. 2
      apps/center/ui/project/group_editor.py
  9. 2
      apps/center/ui/project/group_list.py
  10. 2
      apps/center/ui/project/item_editor.py
  11. 2
      apps/center/ui/project/item_list.py
  12. 2
      apps/center/ui/settings/config.py
  13. 2
      apps/center/ui/settings/database.py
  14. 2
      apps/center/ui/settings/launcher.py
  15. 2
      apps/center/ui/settings/password.py
  16. 2
      apps/center/ui/settings/profile.py
  17. 2
      apps/center/ui/settings/project.py
  18. 2
      apps/center/ui/settings/version.py
  19. 2
      apps/demo/app.py
  20. 2
      apps/explorer/app.py
  21. 3
      apps/explorer/hosted.py
  22. 2
      apps/explorer/ui/main.py
  23. 2
      apps/launcher/app.py
  24. 2
      bip/mink/plugins/loader.py
  25. 2
      bip/uink/app/view.py
  26. 2
      plugins/hosts/maya_bip/plugin.py
  27. 2
      plugins/trackers/shotgrid_bip/plugin.py

@ -3,7 +3,7 @@ import subprocess
import argparse
from packaging import version
from bip import link, mink
from bip.sdk.app import App, run
from bip.sdk import App, run
from bip.utils.versioning import get_remote_tags, get_remote_branches
from bip import compatibility_breakpoint
from bip.wink.constants import TAG, BRANCH

@ -1,5 +1,5 @@
from PySide2.QtWidgets import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink.tools import Execute
from bip.uink.library import *

@ -1,6 +1,6 @@
from packaging import version
from PySide2.QtWidgets import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.utils.versioning import check_git_repo_validity
from bip.uink.tools import Execute
from bip.uink.library import *

@ -7,7 +7,7 @@ from bip.uink.tools import Execute
from bip.uink.utils import Font
from bip.mink.content import get_default_password
from bip.utils.formating import string_cleaner
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
class EditUserPopup(QFrame):

@ -5,7 +5,7 @@ from PySide2.QtGui import *
from PySide2.QtCore import *
from bip.uink.library import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink.utils import Font
from bip.utils.colors import string_to_color, shift_value

@ -6,7 +6,7 @@ from bip.uink.library import *
from bip.uink.utils import Font
from bip.utils.colors import string_to_color, shift_value
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from .new import NewProjectPopup

@ -6,7 +6,7 @@ from bip.uink.library import *
from bip.uink.tools import Execute
from bip.uink.utils import Font
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
class NewProjectPopup(QFrame):

@ -5,7 +5,7 @@ from PySide2.QtCore import *
from bip.uink.library import *
from bip.uink.tools import Execute
from bip.uink.utils import Font
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
class GroupEditor(QFrame):

@ -3,7 +3,7 @@ import os
from PySide2.QtWidgets import *
from PySide2.QtGui import *
from PySide2.QtCore import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink.library import *
from bip.uink.tools import Execute
from bip.uink.utils import Font, Menu

@ -1,7 +1,7 @@
from PySide2.QtWidgets import *
from PySide2.QtGui import *
from PySide2.QtCore import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink.library import *
from bip.uink.tools import Execute
from bip.uink.utils import Font

@ -1,5 +1,5 @@
import os
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from PySide2.QtWidgets import *
from PySide2.QtGui import *
from PySide2.QtCore import *

@ -1,5 +1,5 @@
from PySide2.QtWidgets import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import Execute, CenteredGroup, BoxedList, Button

@ -1,5 +1,5 @@
from PySide2.QtWidgets import *
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import Execute, CenteredGroup, BoxedList, Button

@ -1,6 +1,6 @@
from PySide2.QtWidgets import *
from PySide2.QtCore import QSize, Qt
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import (
Execute,
CenteredGroup,

@ -1,6 +1,6 @@
from PySide2.QtWidgets import *
from PySide2.QtCore import QSize, Qt
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import Execute, CenteredGroup, Font, BoxedList, Button, FloatingGroup

@ -1,6 +1,6 @@
from PySide2.QtWidgets import *
from PySide2.QtCore import QSize, Qt
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import Execute, CenteredGroup, Font, BoxedList, Button, FloatingGroup
from bip.utils.colors import string_to_color, shift_value

@ -1,6 +1,6 @@
from PySide2.QtWidgets import *
from PySide2.QtCore import QSize, Qt
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import Execute, CenteredGroup, SearchList, Button, Font
from bip.utils.colors import string_to_color, shift_value

@ -2,7 +2,7 @@ from PySide2.QtWidgets import *
from packaging import version
from bip.wink.constants import LATEST, TAG, BRANCH, RECOMMENDED
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from bip.uink import (
Dropdown,
Execute,

@ -1,5 +1,5 @@
from bip.wink import HOSTED, STANDALONE
from bip.sdk.app import App, run
from bip.sdk.utils import App, run
from demo.ui import MainWidget
from demo import api

@ -1,7 +1,7 @@
import time
import os
from bip import link
from bip.sdk.app import App, run
from bip.sdk import App, run
from bip.wink import HOSTED, STANDALONE
from explorer.ui.main import Widget
from explorer.constants import WRITING, READING

@ -1,7 +1,6 @@
from typing import Optional
from .app import Explorer
from bip.sdk.app import run
from bip.sdk.plugin import Host
from bip.sdk import run, Host
from bip.wink import HOSTED
from bip.pink import Context
from bip.uink.library import Dialog

@ -5,7 +5,7 @@ from PySide2.QtCore import *
from bip.utils.formating import traceback_from_exception
from bip.uink.library import *
from bip.uink.utils import Font
from bip.sdk.app.decorators import error_handler
from bip.sdk.utils.decorators import error_handler
from .results import Incomplete, Empty, VersionsList
from explorer.constants import WRITING, READING

@ -669,7 +669,7 @@ class Launcher(BipApp):
self.__version_mode = self.system_config.version_mode
self.__active_project = self.active_project
from bip.sdk.app import run
from bip.sdk import run
from center.app import Center
run(Center, start_view=f"settings-{view}", lock_view=True)

@ -44,7 +44,7 @@ def scan(paths, type_):
def load(root, type_):
from bip.sdk.plugin import Tracker, Host
from bip.sdk import Tracker, Host
if type_ == HOST:
class_ = Host

@ -17,7 +17,7 @@ from .overlay import Overlay
if TYPE_CHECKING:
from bip.sdk.app import App
from bip.sdk import App
class Worker(QObject):

@ -1,6 +1,6 @@
from PySide2.QtWidgets import QWidget
from shiboken2 import wrapInstance
from bip.sdk.plugin import Host
from bip.sdk import Host
# DCC
import maya

@ -1,4 +1,4 @@
from bip.sdk.plugin import Tracker
from bip.sdk import Tracker
from . import lib

Loading…
Cancel
Save