schrodinger.application.bunsen.preferences module¶
- schrodinger.application.bunsen.preferences.sync_integration_marker() bool¶
Write or delete the Bunsen integration marker file to match the current feature-flag state, and return whether the flag is enabled.
Bunsen checks only for the marker’s existence to gate its Maestro button. This is the single place Maestro evaluates the integration flag, so callers that need the flag state should go through here to keep the marker current.
- schrodinger.application.bunsen.preferences.has_user_consent() bool¶
Whether user has consented to allow Maestro to connect to Bunsen. If not, Maestro should not attempt to connect to Bunsen or make itself discoverable for connection.
- schrodinger.application.bunsen.preferences.set_user_consent(consent: bool)¶
Set whether user consented to allow Maestro to connect to Bunsen.
- schrodinger.application.bunsen.preferences.is_connection_allowed() bool¶
Whether Maestro can connect to Bunsen.
- schrodinger.application.bunsen.preferences.set_connection_allowed(allowed: bool)¶
Set whether Maestro can connect to Bunsen.
- Parameters:
allowed – whether Maestro can connect to Bunsen.