Asynchronous methods
- Python
- Scala
Several methods in the Feature Store Client API have asynchronous
variants (methods ending with _async).
For example, calling retrieve in an asynchronous way:
job = fs.retrieve_async(start_date_time=None, end_date_time=None)
This method returns a job. The job has 2 methods:
is_doneget_result
The method is_done returns true if the job has finished, false
otherwise. The method get_result obtains the results of the job. If
the method is called before the job has finished, an exception is
thrown.
Several methods in the Feature Store Client API have asynchronous
variants (methods ending with Async).
For example, calling retrieve in an asynchronous way:
val job = fs.retrieveAsync(startDateTime="", endDateTime="")
This method returns a job. The job has 2 methods:
isDonegetResult
The method isDone returns true if the job has finished, false
otherwise. The method getResult obtains the results of the job. If the
method is called before the job has finished, an exception is thrown.
- Submit and view feedback for this page
- Send feedback about H2O Feature Store to cloud-feedback@h2o.ai