This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-composer-python.git
The following commit(s) were added to refs/heads/master by this push:
new 2f14db9 Synthetize provide-api-key annotation (#9)
2f14db9 is described below
commit 2f14db9cd6f90fc14d1b6823804cf61b645f76ae
Author: Lionel Villard <[email protected]>
AuthorDate: Tue Mar 9 11:26:39 2021 -0500
Synthetize provide-api-key annotation (#9)
---
src/conductor/conductor.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/conductor/conductor.py b/src/conductor/conductor.py
index e608a12..8a5df1d 100644
--- a/src/conductor/conductor.py
+++ b/src/conductor/conductor.py
@@ -67,7 +67,8 @@ def synthesize(composition): # dict
annotations = [
{ 'key': 'conductor', 'value': str(composition['ast']) },
{ 'key': 'composerVersion', 'value': composition['version'] },
- { 'key': 'conductorVersion', 'value': __version__ }
+ { 'key': 'conductorVersion', 'value': __version__ },
+ { 'key': 'provide-api-key', 'value': True }
]
return { 'name': composition['name'], 'action': { 'exec': { 'kind':
'python:3', 'code':code }, 'annotations': annotations } }