Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

Commit 1baf95a

Browse files
committed
Add Comment to __init__()
1 parent a3f71e6 commit 1baf95a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/exec_provider.py

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class ExecProvider(object):
3232
"""
3333

3434
def __init__(self, exec_config):
35+
"""
36+
exec_config must be of type ConfigNode because we depend on safe_get(self, key)
37+
to correctly handle optional exec provider config parameters.
38+
"""
3539
for key in ['command', 'apiVersion']:
3640
if key not in exec_config:
3741
raise ConfigException(

0 commit comments

Comments
 (0)