You're reading the documentation of the v0.10. For the latest released version, please have a look at v0.12.

Scaleway Session

class perceval.providers.scaleway.Session(platform, project_id, token, deduplication_id='', max_idle_duration_s=1200, max_duration_s=3600, url='https://api.scaleway.com/qaas/v1alpha1')
Parameters:
  • platform (str) – platform on which circuits will be executed

  • project_id (str) – UUID of the Scaleway Project the session is attached to

  • token (str) – authentication token required to access the Scaleway API

  • deduplication_id (str) – optional value, name mapping to a unique running session, allowing to share an alive session among multiple users

  • max_idle_duration_s (int) – optional value, duration in seconds that can elapsed without activity before the session terminates

  • max_duration_s (int) – optional value, duration in seconds for a session before it automatically terminates

  • url (str) – optional value, endpoint URL of the API

build_remote_processor()

Build a RemoteProcessor object given the session data

Return type:

RemoteProcessor