Definition at line 12 of file AutoConfigFlags.py.
◆ __init__()
def python.AutoConfigFlags.DynamicallyLoadMetadata.__init__ |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Definition at line 13 of file AutoConfigFlags.py.
15 self.filename = filename
16 self.metAccessLevel =
'lite'
18 self.metadata.
update(thisFileMD[self.filename])
19 msg.debug(
"Loaded using 'lite' %s",
str(self.metadata))
◆ __contains__()
def python.AutoConfigFlags.DynamicallyLoadMetadata.__contains__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
◆ __getitem__()
def python.AutoConfigFlags.DynamicallyLoadMetadata.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
◆ __repr__()
def python.AutoConfigFlags.DynamicallyLoadMetadata.__repr__ |
( |
|
self | ) |
|
◆ _loadMore()
def python.AutoConfigFlags.DynamicallyLoadMetadata._loadMore |
( |
|
self | ) |
|
|
private |
◆ get()
def python.AutoConfigFlags.DynamicallyLoadMetadata.get |
( |
|
self, |
|
|
|
key, |
|
|
|
default |
|
) |
| |
Definition at line 25 of file AutoConfigFlags.py.
25 def get(self, key, default):
26 if key
in self.metadata:
27 return self.metadata[key]
28 if self.metAccessLevel !=
'peeker' \
29 and key
not in lite_primary_keys_to_keep \
30 and key
not in lite_TagInfo_keys_to_keep:
31 msg.info(
"Looking into the file in 'peeker' mode as the configuration requires more details: %s ", key)
32 self.metAccessLevel =
'peeker'
34 if key
in self.metadata:
35 return self.metadata[key]
◆ keys()
def python.AutoConfigFlags.DynamicallyLoadMetadata.keys |
( |
|
self | ) |
|
◆ filename
python.AutoConfigFlags.DynamicallyLoadMetadata.filename |
◆ metAccessLevel
python.AutoConfigFlags.DynamicallyLoadMetadata.metAccessLevel |
◆ metadata
python.AutoConfigFlags.DynamicallyLoadMetadata.metadata |
The documentation for this class was generated from the following file: