MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / create

Method create

windows/winobject/task_scheduler.py:152–159  ·  view source on GitHub ↗

Create a new action of type ``action_type`` :rtype: A subclass of :class:`Action`

(self, action_type)

Source from the content-addressed store, hash-verified

150 ITEM_TYPE = Action
151
152 def create(self, action_type):
153 """Create a new action of type ``action_type``
154
155 :rtype: A subclass of :class:`Action`
156 """
157 res = self.ITEM_TYPE()
158 self.Create(action_type, res)
159 return res.subtype
160
161 def get_item(self, index):
162 item = super(ActionCollection, self).get_item(index)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected