MCPcopy
hub / github.com/apache/caldera / build_objective

Method build_objective

app/objects/c_objective.py:27–28  ·  view source on GitHub ↗
(self, data, **kwargs)

Source from the content-addressed store, hash-verified

25
26 @ma.post_load
27 def build_objective(self, data, **kwargs):
28 return None if kwargs.get('partial') is True else Objective(**data)
29
30
31class Objective(FirstClassObjectInterface, BaseObject):

Callers

nothing calls this directly

Calls 1

ObjectiveClass · 0.85

Tested by

no test coverage detected