pdstools.infinity.resources.prediction_studio.v24_1.prediction

Classes

_PredictionV24_1Mixin

v24.1 Prediction business logic — defined once.

Prediction

v24.1 Prediction business logic — defined once.

AsyncPrediction

v24.1 Prediction business logic — defined once.

Module Contents

class _PredictionV24_1Mixin

v24.1 Prediction business logic — defined once.

prediction_id: str
async get_metric(*, metric: pdstools.infinity.internal._constants.METRIC, timeframe: Literal['7d', '4w', '3m', '6m']) polars.DataFrame
Parameters:
  • metric (pdstools.infinity.internal._constants.METRIC)

  • timeframe (Literal['7d', '4w', '3m', '6m'])

Return type:

polars.DataFrame

async describe()
class Prediction(client, *, predictionId: str, label: str, status: str, lastUpdateTime: str, objective: str | None = None, subject: str | None = None)

Bases: _PredictionV24_1Mixin, pdstools.infinity.resources.prediction_studio.base.Prediction

v24.1 Prediction business logic — defined once.

Parameters:
  • predictionId (str)

  • label (str)

  • status (str)

  • lastUpdateTime (str)

  • objective (str | None)

  • subject (str | None)

class AsyncPrediction(client, *, predictionId: str, label: str, status: str, lastUpdateTime: str, objective: str | None = None, subject: str | None = None)

Bases: _PredictionV24_1Mixin, pdstools.infinity.resources.prediction_studio.base.AsyncPrediction

v24.1 Prediction business logic — defined once.

Parameters:
  • predictionId (str)

  • label (str)

  • status (str)

  • lastUpdateTime (str)

  • objective (str | None)

  • subject (str | None)