Skip to content

Commit

Permalink
Merge branch 'main' into support/3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuch committed Apr 23, 2024
2 parents ea559a8 + 05c9a0e commit baf3a7e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/zato-cli/src/zato/cli/enmasse.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
Expand All @@ -14,6 +14,7 @@
from datetime import datetime, timedelta
from itertools import chain
from time import sleep
from uuid import uuid4

# Zato
from zato.cli import ManageCommand
Expand Down Expand Up @@ -1571,7 +1572,7 @@ def _resolve_attrs(self, item_type:'str', attrs:'any_') -> 'any_':
if key.startswith(('is_', 'should_', 'needs_')):
value = None
else:
value = 'Env-Value-Not-Found-' + orig_value
value = 'Env-Value-Not-Found-' + orig_value + '.' + uuid4().hex

attrs[key] = value

Expand Down Expand Up @@ -3301,7 +3302,7 @@ def _extract_include(self, include_type:'str') -> 'strlist': # type: ignore
out:'strlist' = []

# Turn the string into a list of items that we will process ..
include_type:'strlist' = include_type.split(',')
include_type:'strlist' = include_type.split(',') # type: ignore
include_type = [item.strip().lower() for item in include_type]

# .. ignore explicit types if all types are to be returned ..
Expand Down

0 comments on commit baf3a7e

Please sign in to comment.