Skip to content

Site Settings

The Flywheel SDK provides read-only access to site-wide configuration.

Site configuration

fw.get_config() returns read-only information about the Flywheel site — its URL, version, authentication settings, and enabled feature flags. This is useful for writing scripts that need to adapt to a specific site's configuration.

Read site configuration
config = fw.get_config()
print(config.site.name)
print(config.site.api_url)

Note

Most site-wide settings cannot be changed through the SDK. Contact Flywheel support for information on adjusting authentication provider settings or feature flags.

Key configuration fields

Field Description
config.auth Authentication provider settings
config.central Flywheel Central settings, if applicable
config.features Dict of enabled feature flags
config.site Dict of site settings, including URLs