gooddata_sdk.support.SupportService

class gooddata_sdk.support.SupportService(api_client: gooddata_sdk.client.GoodDataApiClient)

Bases: object

__init__(api_client: gooddata_sdk.client.GoodDataApiClient) None

Methods

__init__(api_client)

wait_till_available(timeout[, sleep_time])

Wait till GD.CN service is available. When timeout is:

Attributes

is_available

Checks if GD.CN is available.

property is_available: bool

Checks if GD.CN is available. Can raise exceptions in case of authentication or authorization failure. :return: True - available, False - not available

wait_till_available(timeout: int, sleep_time: float = 2.0) None
Wait till GD.CN service is available. When timeout is:
  • > 0 exception is raised after given number of seconds.

  • = 0 exception is raised whe service is not available immediately

  • < 0 no timeout

Method propagates is_available exceptions. :param timeout: seconds to wait to service to be available (see method description for details) :param sleep_time: seconds to wait between GD.CN availability tests