MCPcopy Create free account
hub / github.com/apple/coremltools / InAnyOrder

Method InAnyOrder

deps/protobuf/python/mox.py:686–702  ·  view source on GitHub ↗

Move this method into a group of unordered calls. A group of unordered calls must be defined together, and must be executed in full before the next expected method can be called. There can be multiple groups that are expected serially, if they are given different group names. The

(self, group_name="default")

Source from the content-addressed store, hash-verified

684 return self
685
686 def InAnyOrder(self, group_name="default"):
687 """Move this method into a group of unordered calls.
688
689 A group of unordered calls must be defined together, and must be executed
690 in full before the next expected method can be called. There can be
691 multiple groups that are expected serially, if they are given
692 different group names. The same group name can be reused if there is a
693 standard method call, or a group with a different name, spliced between
694 usages.
695
696 Args:
697 group_name: the name of the unordered group.
698
699 Returns:
700 self
701 """
702 return self._CheckAndCreateNewGroup(group_name, UnorderedGroup)
703
704 def MultipleTimes(self, group_name="default"):
705 """Move this method into group of calls which may be called multiple times.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected