MCPcopy Create free account
hub / github.com/Atrovast/THGS / get_base_class

Method get_base_class

ext/spt/data/instance.py:98–102  ·  view source on GitHub ↗

Helps `self.from_list()` and `self.to_list()` identify which classes to use for batch collation and un-collation.

(cls)

Source from the content-addressed store, hash-verified

96
97 @classmethod
98 def get_base_class(cls) -> type:
99 """Helps `self.from_list()` and `self.to_list()` identify which
100 classes to use for batch collation and un-collation.
101 """
102 return InstanceData
103
104 @classmethod
105 def get_batch_class(cls) -> type:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected