MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / Obj

Class Obj

tests/test_providers.py:147–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145@pytest.mark.unit
146def test_openai_stream_field_helper_accepts_dict_and_objects() -> None:
147 class Obj:
148 content = "object-content"
149
150 assert _field({"content": "dict-content"}, "content") == "dict-content"
151 assert _field(Obj(), "content") == "object-content"

Calls

no outgoing calls