Skip to content

ds2ai.Jupyterserver

class Jupyterserver(object)

This namespace represents a Jupyterserver created in a Jupyterproject object for training AI

init()

__init__(info, user)
  • Parmeters:
    • info (str): Information about the current Click AI' Jupyter server corresponding to the object
    • user (str): User for stopping, resuming, deleting the jupyter server.
  • Fields:
    • intanceId: Instance ID of the jupyter server.
    • url: DS2 API url information.
    • user: User information.
    • user_token: User token information.

repr()

Returns the Click AI's jupyter server instance ID as a printable format.

__repr__()
  • Return type:
    • str

stop()

Stop the training server temporarily.

stop()
  • Return type:
  • None
  • Reference:
    • You can find the corresponding jupyter server stopped.

resume()

Resume the training server that was stopped.

resume()
  • Return type:
  • None
  • Reference:
    • You can find the corresponding jupyter server resumed.

delete(): deletes the server

Delete the current cloud server.

delete()
  • Return type:
  • None
  • Reference:
    • You can find the corresponding jupyter server deleted.