Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jnumainville committed Aug 14, 2024
1 parent 270e598 commit ab075ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deephaven_ipywidgets/deephaven.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,15 @@ def __init__(self, deephaven_object, height=600, width=0, session=None):
server_url, token = _check_session(session, params)

elif _str_object_type(deephaven_object) == "pydeephaven.table.Table":
from pydeephaven.session import SharedTicket
session = deephaven_object.session

server_url, token = _check_session(session, params)

session.bind_table(object_id, deephaven_object)
ticket = SharedTicket(b"h/" + object_id.encode("utf-8"))
session.publish_table(ticket, deephaven_object)

params["shared"] = 'Table'
else:
from deephaven_server import Server
port = Server.instance.port
Expand Down

0 comments on commit ab075ee

Please sign in to comment.