ATLAS Offline Software
Loading...
Searching...
No Matches
SQLiteDBSvcConfig.py
Go to the documentation of this file.
2"""ComponentAccumulator configuration for SQLiteDBSvc
3
4Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5"""
6from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7from AthenaConfiguration.ComponentFactory import CompFactory
8def SQLiteDBSvcCfg(flags, name="SQLiteDBSvc", dbPath=":memory:", **kwargs):
9 acc = ComponentAccumulator()
10 acc.addService(CompFactory.SQLiteDBSvc(name=name, DatabasePath=dbPath, **kwargs))
11 return acc
SQLiteDBSvcCfg(flags, name="SQLiteDBSvc", dbPath=":memory:", **kwargs)