MCPcopy Create free account
hub / github.com/apache/burr / construct_data

Method construct_data

burr/integrations/pydantic.py:419–420  ·  view source on GitHub ↗
(self, state: State)

Source from the content-addressed store, hash-verified

417 )
418
419 def construct_data(self, state: State) -> StateModel:
420 return model_from_state(model=self.model_type, state=state)
421
422 def construct_state(self, data: StateModel) -> State:
423 return State(model_to_dict(data))

Callers

nothing calls this directly

Calls 1

model_from_stateFunction · 0.85

Tested by

no test coverage detected