(self, write_context, value)
| 1641 | self._use_default_policy = type_resolver.policy is DEFAULT_POLICY |
| 1642 | |
| 1643 | def write(self, write_context, value): |
| 1644 | instance = value.__self__ |
| 1645 | method_name = value.__func__.__name__ |
| 1646 | |
| 1647 | write_context.write_ref(instance) |
| 1648 | write_context.write_string(method_name) |
| 1649 | |
| 1650 | def read(self, read_context): |
| 1651 | _authorize_callable_materialization(read_context.policy, self.cls) |
nothing calls this directly
no test coverage detected