MCPcopy Index your code
hub / github.com/pathwaycom/pathway / to_json

Function to_json

python/pathway/tests/test_json.py:908–909  ·  view source on GitHub ↗
(obj: pw.PyObjectWrapper[dict])

Source from the content-addressed store, hash-verified

906
907 @pw.udf
908 def to_json(obj: pw.PyObjectWrapper[dict]) -> pw.Json:
909 return pw.Json(obj.value)
910
911 @pw.udf
912 def to_json_wrapped(obj) -> pw.Json:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected