File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -418,14 +418,15 @@ def create_app_compose(self,
418418 kms_enabled : bool ,
419419 gateway_enabled : bool ,
420420 local_key_provider_enabled : bool ,
421- key_provider_id : str ,
421+ key_provider_id : str | None ,
422422 public_logs : bool ,
423423 public_sysinfo : bool ,
424424 envs : Optional [Dict ],
425425 no_instance_id : bool ,
426426 output : str ,
427427 ) -> None :
428428 """Create a new app compose file"""
429+ envs = envs or {}
429430 app_compose = {
430431 "manifest_version" : 2 ,
431432 "name" : name ,
@@ -434,7 +435,7 @@ def create_app_compose(self,
434435 "kms_enabled" : kms_enabled ,
435436 "gateway_enabled" : gateway_enabled ,
436437 "local_key_provider_enabled" : local_key_provider_enabled ,
437- "key_provider_id" : key_provider_id ,
438+ "key_provider_id" : key_provider_id or "" ,
438439 "public_logs" : public_logs ,
439440 "public_sysinfo" : public_sysinfo ,
440441 "allowed_envs" : [k for k in envs .keys ()],
You can’t perform that action at this time.
0 commit comments