nv_dfm_core.session: Session and Job Management#
Session#
The main entry point for connecting to a federation and executing pipelines.
Main entry point for executing DFM pipelines in a federation. |
|
Abstract base class for session delegates that handle different execution targets. |
Jobs#
Callbacks#
DFM delivers pipeline results to your application through callbacks. The callback types and dispatcher strategies below control how and when callbacks are invoked.
Factory for creating CallbackRunner instances. |
|
Default dispatcher: calls callbacks immediately from the background thread. |
|
Dispatcher that queues tokens for manual processing. |
|
Dispatcher that schedules callbacks on an asyncio event loop. |
|
Executes callbacks for a specific job. |
|
Runner that queues tokens for manual processing. |
Determine whether all callbacks are sync, all are async, or none provided. |
|
Call sync callbacks for the given tokens. |
|
Call async callbacks for the given tokens. |
|
Configure logging for DFM Session based on environment variables. |