Skip to content

Commit

Permalink
feat: add 8.1.5 changes
Browse files Browse the repository at this point in the history
Closes #36
  • Loading branch information
cesarcoatl committed Apr 29, 2021
1 parent 1aeb50a commit 4abd6fa
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/system/__init__.py
Expand Up @@ -14,5 +14,5 @@
Scripting section.
"""

__version__ = "8.1.4"
__build__ = "2021040109"
__version__ = "8.1.5"
__build__ = "2021042810"
42 changes: 41 additions & 1 deletion src/system/perspective/__init__.py
Expand Up @@ -24,6 +24,8 @@
"login",
"logout",
"navigate",
"navigateBack",
"navigateForward",
"openDock",
"openPopup",
"print",
Expand Down Expand Up @@ -385,6 +387,7 @@ def navigate(
params=None,
sessionId="current_session",
pageId="current_page",
newTab=False,
):
"""
Navigate the session to a specified view or mounted page.
Expand Down Expand Up @@ -420,10 +423,47 @@ def navigate(
must be included in the call. Optional.
pageId (str): Identifier of the Page to target. If omitted, the
current Page will be used automatically. Optional.
newTab (bool): If True, opens the contents in a new tab.
Optional.
"""
from __builtin__ import print

print(page, url, view, params, sessionId, pageId, newTab)


def navigateBack(sessionId=None, pageId=None):
"""
Navigate the session to a specified view or mounted page. This is
similar to a browser's "back" function.
Args:
sessionId (str): Identifier of the Session to target. If
omitted, the current Session will be used automatically.
Optional.
pageId (str): Identifier of the page to target. If omitted, the
current page will be used automatically. Optional.
"""
from __builtin__ import print

print(sessionId, pageId)


def navigateForward(sessionId=None, pageId=None):
"""
Navigate the session to a specified view or mounted page. This is
similar to a browser's "forward" function.
Args:
sessionId (str): Identifier of the Session to target. If
omitted, the current Session will be used automatically.
When targeting a different session, then the pageId
parameter must be included in the call. Optional.
pageId (str): Identifier of the page to target. If omitted, the
current page will be used automatically. Optional.
"""
from __builtin__ import print

print(page, url, view, params, sessionId, pageId)
print(sessionId, pageId)


def openDock(
Expand Down

0 comments on commit 4abd6fa

Please sign in to comment.