Skip to content

sift_client.config

Global configuration for the Sift client library.

CLASS DESCRIPTION
Config

Global configuration for the Sift client library.

ATTRIBUTE DESCRIPTION
config

config module-attribute

config = Config()

Config dataclass

Config(show_progress: bool | None = None)

Global configuration for the Sift client library.

This is a singleton dataclass, use the module-level config instance rather than creating your own::

import sift_client

sift_client.config.show_progress = False

Setting an attribute that doesn't exist raises AttributeError so typos are caught immediately.

ATTRIBUTE DESCRIPTION
show_progress

Controls progress-bar display for job polling and file downloads.

TYPE: bool | None

show_progress class-attribute instance-attribute

show_progress: bool | None = None

Controls progress-bar display for job polling and file downloads.

None (default) shows bars for sync calls and hides them for async. Set to False to disable everywhere.