nat.front_ends.fastapi.fastapi_front_end_plugin#

Attributes#

Classes#

FastApiFrontEndPlugin

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

Module Contents#

logger#
class FastApiFrontEndPlugin(full_config: nat.data_models.config.Config)#

Bases: nat.builder.front_end.FrontEndBase[nat.front_ends.fastapi.fastapi_front_end_config.FastApiFrontEndConfig]

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

Initializes the FrontEndBase object with the specified NAT configuration.

Parameters#

full_configConfig

The configuration object to use for the front end.

get_worker_class() type[nat.front_ends.fastapi.fastapi_front_end_plugin_worker.FastApiFrontEndPluginWorkerBase]#
get_worker_class_name() str#
async run()#

Runs the specified configuration file, launching the workflow until the front end is complete.