This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2946
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2946 by this push:
new 28ead077b [DATALAB-2946]: added list parameter type for ParamsBuilder
28ead077b is described below
commit 28ead077bafa9a9631a4603d52c5b899c4d67425
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Aug 4 12:28:24 2022 +0300
[DATALAB-2946]: added list parameter type for ParamsBuilder
---
infrastructure-provisioning/terraform/bin/datalab.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/infrastructure-provisioning/terraform/bin/datalab.py
b/infrastructure-provisioning/terraform/bin/datalab.py
index 6849471bc..f5ec43a43 100644
--- a/infrastructure-provisioning/terraform/bin/datalab.py
+++ b/infrastructure-provisioning/terraform/bin/datalab.py
@@ -165,6 +165,9 @@ class ParamsBuilder:
def add_int(self, name, desc, **kwargs):
return self.add(int, name, desc, **kwargs)
+ def add_list(self, name, desc, **kwargs):
+ return self.add(list, name, desc, **kwargs)
+
@staticmethod
def str2bool(v):
if isinstance(v, bool):
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]