pdstools.infinity.resources.prediction_studio

Submodules

Classes

AsyncPredictionStudioBase

Helper class that provides a standard way to create an ABC using

PredictionStudioBase

Helper class that provides a standard way to create an ABC using

Functions

get(→ Type[base.PredictionStudioBase])

get_async(→ Type[base.AsyncPredictionStudioBase])

Package Contents

class AsyncPredictionStudioBase(client: pdstools.infinity.client.AsyncAPIClient)

Bases: pdstools.infinity.internal._resource.AsyncAPIResource, abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

Parameters:

client (pdstools.infinity.client.AsyncAPIClient)

version: str
abstract list_predictions() pdstools.infinity.internal._pagination.PaginatedList[Prediction]
Async:

Return type:

pdstools.infinity.internal._pagination.PaginatedList[Prediction]

abstract repository() Repository
Async:

Return type:

Repository

class PredictionStudioBase(client: pdstools.infinity.client.SyncAPIClient)

Bases: pdstools.infinity.internal._resource.SyncAPIResource, abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

Parameters:

client (pdstools.infinity.client.SyncAPIClient)

version: str
abstract list_predictions() pdstools.infinity.internal._pagination.PaginatedList[Prediction]
Return type:

pdstools.infinity.internal._pagination.PaginatedList[Prediction]

abstract repository() Repository
Return type:

Repository

get(version: str) Type[base.PredictionStudioBase]
Parameters:

version (str)

Return type:

Type[base.PredictionStudioBase]

get_async(version: str) Type[base.AsyncPredictionStudioBase]
Parameters:

version (str)

Return type:

Type[base.AsyncPredictionStudioBase]