MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/ext/baked.py:58–63  ·  view source on GitHub ↗
(self, bakery, initial_fn, args=())

Source from the content-addressed store, hash-verified

56 __slots__ = "steps", "_bakery", "_cache_key", "_spoiled"
57
58 def __init__(self, bakery, initial_fn, args=()):
59 self._cache_key = ()
60 self._update_cache_key(initial_fn, args)
61 self.steps = [initial_fn]
62 self._spoiled = False
63 self._bakery = bakery
64
65 @classmethod
66 def bakery(cls, size=200, _size_alert=None):

Callers

nothing calls this directly

Calls 1

_update_cache_keyMethod · 0.95

Tested by

no test coverage detected