Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
add enum case for actinia module
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacata committed Jun 17, 2020
1 parent 9791e8d commit 0c6ffe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actinia_gdi/core/gmodulesActinia.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ def populate_vm_params_and_returns(self, gm, pc):
amkey = self.aks[ak]['amkey']
self.vm_params[amkey] = gm['parameters'][param]

if 'enum' in self.aks[param]:
if (param in self.aks.keys()
and 'enum' in self.aks[param]):
enum = self.aks[param]['enum']
self.vm_params[amkey]['schema']['enum'] = enum

Expand Down

0 comments on commit 0c6ffe3

Please sign in to comment.