unitelabs.cdk.cli.connector
Packages
Attributes
- Name
AppFactory
- Type
- Value
= collections.abc.Callable[..., typing.Union[Connector, collections.abc.Awaitable[Connector], Generator]]
- Description
Functions
@click.group()
connector() -> NoneBase cli
@connector.command()
@click.option('--app', type=str, metavar='IMPORT', default=utils.find_factory, help="The application factory function to load, in the form 'module:name'.")
@click.option('-v', '--verbose', count=True, help='Increase the verbosity of to debug.')
@utils.coroutine
start(app, verbose : int) -> NoneApplication Entrypoint
Parameters
- Name
app
- Type
- Default
- Description
- Name
verbose
- Type
- int
- Default
- Description
load_create_app(location : str) -> AppFactory
Dynamically import the application factory from the given location.
Parameters
- Name
location
- Type
- str
- Default
- Description
Where to find the app factory formatted as "module:name".
Response
- Type
- AppFactory
- Description