# Fleet Manager Future[¶](https://doc.dataiku.com/dss/latest/python-api/fleetmanager/future.html#fleet-manager-future "Permalink to this headline")

A Future object allows to wait for the completion of an operation.

## Reference API doc[¶](https://doc.dataiku.com/dss/latest/python-api/fleetmanager/future.html#reference-api-doc "Permalink to this headline")

*class* `dataikuapi.fm.future.``FMFuture`(*client*, *job\_id*, *state=None*, *result\_wrapper=<function FMFuture.<lambda>>*)

A future on the DSS instance

*static* `from_resp`(*client*, *resp*, *result\_wrapper=<function FMFuture.<lambda>>*)

Creates a DSSFuture from a parsed JSON response

* Return type: `dataikuapi.fm.future.FMFuture`

*classmethod* `get_result_wait_if_needed`(*client*, *ret*)

`abort`()

Abort the future

`get_state`()

Get the status of the future, and its result if it’s ready

`peek_state`()

Get the status of the future, and its result if it’s ready

`get_result`()

Get the future result if it’s ready, raises an Exception otherwise

`has_result`()

Checks whether the future has a result ready

`wait_for_result`()

Wait and get the future result
