MCPcopy Create free account
hub / github.com/datapane/datapane / push

Method push

python-client/src/datapane/_vendor/bottle.py:2598–2603  ·  view source on GitHub ↗

Add a new :class:`Bottle` instance to the stack

(self, value=None)

Source from the content-addressed store, hash-verified

2596 return self.default
2597
2598 def push(self, value=None):
2599 """ Add a new :class:`Bottle` instance to the stack """
2600 if not isinstance(value, Bottle):
2601 value = Bottle()
2602 self.append(value)
2603 return value
2604 new_app = push
2605
2606 @property

Callers 9

defaultMethod · 0.95
getBlockMetadataFunction · 0.80
appendFunction · 0.80
setReportFunction · 0.80
updateFunction · 0.80
constructorMethod · 0.80
apiResponseToArrowFunction · 0.80
__enter__Method · 0.80
load_appFunction · 0.80

Calls 2

BottleClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected