From ab2643a009900225fc0b5b6f8da2bcb949647a47 Mon Sep 17 00:00:00 2001 From: DetachHead Date: Sat, 28 May 2022 17:46:43 +1000 Subject: [PATCH] fix tests --- src/codemagic/apple/resources/resource.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/codemagic/apple/resources/resource.py b/src/codemagic/apple/resources/resource.py index 8edac283..612db762 100644 --- a/src/codemagic/apple/resources/resource.py +++ b/src/codemagic/apple/resources/resource.py @@ -184,6 +184,8 @@ class PrettyNameAbcMeta(PrettyNameMeta, ABCMeta): class Resource(LinkedResourceData, metaclass=PrettyNameAbcMeta): + _OMIT_IF_NONE_KEYS = ('relationships',) + def __init_subclass__(cls) -> None: """ hack to work around the fact that we are overriding the `attributes` and ``relationships`` properties with