bartender.shared.dirac_config#

Attributes#

DIRAC_INSTALLED

True if DIRAC package is installed, False otherwise.

LogLevel

Classes#

ProxyConfig

Configuration for DIRAC proxy.

Module Contents#

bartender.shared.dirac_config.DIRAC_INSTALLED#

True if DIRAC package is installed, False otherwise.

bartender.shared.dirac_config.LogLevel#
class bartender.shared.dirac_config.ProxyConfig#

Bases: pydantic.BaseModel

Configuration for DIRAC proxy.

Parameters:
  • cert – The path to the user’s DIRAC proxy certificate.

  • key – The path to the user’s private key file.

  • group – The name of the DIRAC group to use.

  • valid – How long proxy should be valid. Format HH:MM. By default is 24 hours.

  • password – The password for the private key file.

  • min_life – If proxy has less than this many seconds left, renew it. Default 30 minutes.

  • log_level – The log level for the DIRAC logger. Default INFO.

cert: str | None = None#
key: str | None = None#
group: str | None = None#
valid: str | None = None#
password: str | None = None#
min_life: int = 1800#
log_level: LogLevel = 'INFO'#