Skip to content

Commit 74f511a

Browse files
committed
patch praktika crash when there are no artifacts
1 parent 677b61e commit 74f511a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/praktika/runtime.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class RunConfig(MetaClasses.Serializable):
2424

2525
@classmethod
2626
def from_dict(cls, obj):
27+
if obj is None:
28+
return obj
2729
cache_artifacts = obj["cache_artifacts"]
2830
cache_jobs = obj["cache_jobs"]
2931
cache_artifacts_deserialized = {}

0 commit comments

Comments
 (0)