You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="property"><spanclass="k"><spanclass="pre">class</span></span><spanclass="w"></span></span><spanclass="sig-prename descclassname"><spanclass="pre">grandchallenge.workstations.models.</span></span><spanclass="sig-name descname"><spanclass="pre">Session</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="_modules/grandchallenge/workstations/models.html#Session"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#grandchallenge.workstations.models.Session" title="Link to this definition">¶</a></dt>
178
178
<dd><p>Tracks who has launched workstation images. The <codeclass="docutils literal notranslate"><spanclass="pre">WorkstationImage</span></code> will
179
-
be launched as a <codeclass="docutils literal notranslate"><spanclass="pre">Service</span></code>. The <codeclass="docutils literal notranslate"><spanclass="pre">Session</span></code> is responsible for starting
180
-
and stopping the <codeclass="docutils literal notranslate"><spanclass="pre">Service</span></code>.</p>
179
+
be launched as a <codeclass="docutils literal notranslate"><spanclass="pre">ECSService</span></code>.</p>
<li><p><strong>host_address</strong> (<aclass="reference external" href="https://docs.djangoproject.com/en/stable/ref/models/fields/#django.db.models.GenericIPAddressField" title="(in Django v6.0)"><em>GenericIPAddressField</em></a>) – Host address. The IP address of the host this session is running on</p></li>
<li><p><strong>http_port</strong> (<aclass="reference external" href="https://docs.djangoproject.com/en/stable/ref/models/fields/#django.db.models.PositiveIntegerField" title="(in Django v6.0)"><em>PositiveIntegerField</em></a>) – Http port. The mapped port for http traffic on the host</p></li>
196
196
<li><p><strong>websocket_port</strong> (<aclass="reference external" href="https://docs.djangoproject.com/en/stable/ref/models/fields/#django.db.models.PositiveIntegerField" title="(in Django v6.0)"><em>PositiveIntegerField</em></a>) – Websocket port. The mapped port for websocket traffic on the host</p></li>
<li><p><strong>extra_env_vars</strong> (<aclass="reference external" href="https://docs.djangoproject.com/en/stable/ref/models/fields/#django.db.models.JSONField" title="(in Django v6.0)"><em>JSONField</em></a>) – Extra env vars. Extra environment variables to include in this session</p></li>
<spanclass="property"><spanclass="k"><spanclass="pre">property</span></span><spanclass="w"></span></span><spanclass="sig-name descname"><spanclass="pre">service</span></span><spanclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">Service</span></span><aclass="headerlink" href="#grandchallenge.workstations.models.Session.service" title="Link to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">start</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="_modules/grandchallenge/workstations/models.html#Session.start"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#grandchallenge.workstations.models.Session.start" title="Link to this definition">¶</a></dt>
290
-
<dd><p>Starts the service for this session, ensuring that the
291
-
<codeclass="docutils literal notranslate"><spanclass="pre">workstation_image</span></code> is ready to be used and that
292
-
<codeclass="docutils literal notranslate"><spanclass="pre">WORKSTATIONS_MAXIMUM_SESSIONS</span></code> has not been reached in this region.</p>
<spanclass="sig-name descname"><spanclass="pre">stop</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="_modules/grandchallenge/workstations/models.html#Session.stop"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#grandchallenge.workstations.models.Session.stop" title="Link to this definition">¶</a></dt>
306
-
<dd><p>Stop the service for this session, cleaning up all of the containers.</p>
<ddclass="field-odd"><p><strong>status</strong> (<spanclass="sphinx_autodoc_typehints-type">((0, Queued), (1, Started), (2, Running), (3, Failed), (4, Stopped))</span>) – The new status for this session.</p>
0 commit comments