Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bdufour committed Sep 19, 2024
1 parent 5120f86 commit 8f72e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests_integration/nativeapp/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from shlex import split
from typing import Any, Optional
from typing import Any, Optional, Union

from yaml import safe_dump, safe_load

Expand Down Expand Up @@ -40,7 +40,7 @@ def set_version_in_app_manifest(manifest_path: Path, version: Any, patch: Any =
f.write(safe_dump(manifest))


def normalize_identifier(identifier: str) -> str:
def normalize_identifier(identifier: Union[str, int]) -> str:
id_str = str(identifier)
if is_valid_unquoted_identifier(str(id_str)):
return id_str.upper()
Expand Down

0 comments on commit 8f72e04

Please sign in to comment.