MCPcopy Create free account
hub / github.com/ActiveState/code / get_state

Method get_state

recipes/Python/576808_statemethod/recipe-576808.py:23–25  ·  view source on GitHub ↗

Get the state, for use with an existing Base object

(cls)

Source from the content-addressed store, hash-verified

21
22 @classmethod
23 def get_state(cls):
24 """Get the state, for use with an existing Base object"""
25 return cls
26
27class InstantiatedState(State):
28 """InstantiatedState creates a new object every time get_state is called.

Callers 3

pollMethod · 0.45
newMethod · 0.45
recipe-576808.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected