CiManagerDependency#

class mobu.dependencies.github.CiManagerDependency#

Bases: object

A process-global object to manage background CI workers.

It is important to close this when Mobu shuts down to make sure that GitHub PRs that use the mobu CI app functionality don’t have stuck check runs.

Attributes Summary

Methods Summary

__call__()

Call self as a function.

aclose()

initialize(*, base_context, users, ...)

Attributes Documentation

ci_manager#

Methods Documentation

__call__()#

Call self as a function.

Return type:

CiManager

async aclose()#
Return type:

None

initialize(*, base_context, users, github_app_id, github_private_key, scopes)#
Parameters:
Return type:

None