MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / CustomFormat

Class CustomFormat

tests/datasets/test_formatters.py:339–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 """Test registering a custom format."""
338
339 class CustomFormat(BaseFormat):
340 @classmethod
341 def extensions(cls):
342 return [".custom"]
343
344 def load(self, file_path):
345 return []
346
347 def save(self, data, file_path, **kwargs):
348 pass
349
350 # Register and verify
351 FormatRegistry.register(CustomFormat)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected