AI engineering glossary · Python advanced

What is future?

Future: An object representing a result that will be available later, either from an executor or the event loop. You can check whether it is done, wait for it or retrieve its result or exception.

Level: advancedTopic: Python advanced

Future: an example

future = executor.submit(train_model) returns immediately; future.result() waits and returns the outcome.

Related terms

More Python advanced terms

Where you learn it

Future is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.