ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, service, prefix, type) |
def | __getattr__ (self, name) |
def | __setattr__ (self, key, value) |
def | __str__ (self) |
Private Attributes | |
_service | |
_prefix | |
_type | |
_props | |
Standalone Private Tool Configuration This class is used to mimic the behaviour of Athena tool configurable classes. To be able to set the properties of private tools used by dual-use services in a way that's valid for both Athena and EventLoop.
Definition at line 261 of file AsgServiceConfig.py.
def python.AsgServiceConfig.PrivateToolConfig.__init__ | ( | self, | |
service, | |||
prefix, | |||
type | |||
) |
Constructor for an private tool configuration object
Definition at line 269 of file AsgServiceConfig.py.
def python.AsgServiceConfig.PrivateToolConfig.__getattr__ | ( | self, | |
name | |||
) |
Get a previously set property value from the configuration This function allows us to retrieve the value of a tool property that was already set for an service's private tool, to possibly use it in some configuration decisions in the Python code itself. Keyword arguments: name -- The name of the property
Definition at line 280 of file AsgServiceConfig.py.
def python.AsgServiceConfig.PrivateToolConfig.__setattr__ | ( | self, | |
key, | |||
value | |||
) |
Set a tool property on an existing configuration object This function allows us to set/override properties on a private tool of an service configuration object. Allowing for the following syntax: service = ... service.Tool.IntProperty = 66 service.Tool.FloatProperty = 3.141592 service.Tool.StringProperty = "Foo" Keyword arguments: key -- The key/name of the property value -- The value to set for the property
Definition at line 300 of file AsgServiceConfig.py.
def python.AsgServiceConfig.PrivateToolConfig.__str__ | ( | self | ) |
Print the private tool configuration in a user friendly way This is just to help with debugging configurations, allowing the user to get a nice printout of their job configuration.
Definition at line 329 of file AsgServiceConfig.py.
|
private |
Definition at line 274 of file AsgServiceConfig.py.
|
private |
Definition at line 276 of file AsgServiceConfig.py.
|
private |
Definition at line 273 of file AsgServiceConfig.py.
|
private |
Definition at line 275 of file AsgServiceConfig.py.