MaybeCiManagerDependency#

class mobu.dependencies.github.MaybeCiManagerDependency(dep)#

Bases: object

Try to return a CiManager, but don’t blow up if it’s not there.

Used in external routes that return info about mobu, and may be called on installations that do not have the github ci functionality enabled.

Parameters:

dep (CiManagerDependency)

Methods Summary

__call__()

Call self as a function.

Methods Documentation

__call__()#

Call self as a function.

Return type:

CiManager | None