MCPcopy Create free account
hub / github.com/instantdb/instant / tracking_open

Function tracking_open

client/packages/python/tests/test_storage.py:61–64  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

59 real_open = Path.open
60
61 def tracking_open(self, *args, **kwargs):
62 fp = real_open(self, *args, **kwargs)
63 opened.append(fp)
64 return fp
65
66 monkeypatch.setattr(Path, "open", tracking_open)
67

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected