buildgrid.server.utils.bots module

buildgrid.server.utils.bots.get_bot_capacity(bot_session: BotSession) int

Return the maximum capacity of the given BotSession.

Defaults to 1 if no capacity is specified.

buildgrid.server.utils.bots.bot_log_tags(bot_session: BotSession) dict[str, Any]

Return the dictionary of common log tags for a BotSession.