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

Commit

Permalink
Add Comment to __init__()
Browse files Browse the repository at this point in the history
  • Loading branch information
fillbit committed Oct 10, 2018
1 parent a3f71e6 commit 1baf95a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/exec_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ class ExecProvider(object):
"""

def __init__(self, exec_config):
"""
exec_config must be of type ConfigNode because we depend on safe_get(self, key)
to correctly handle optional exec provider config parameters.
"""
for key in ['command', 'apiVersion']:
if key not in exec_config:
raise ConfigException(
Expand Down

0 comments on commit 1baf95a

Please sign in to comment.