MCPcopy Index your code
hub / github.com/pyscript/pyscript / load

Method load

core/src/stdlib/pyscript/media.py:171–179  ·  view source on GitHub ↗

!!! warning **Deprecated: Use `request_stream()` instead.** This method is retained for backwards compatibility but will be removed in a future release. Please use `request_stream()` instead.

(cls, audio=False, video=True)

Source from the content-addressed store, hash-verified

169
170 @classmethod
171 async def load(cls, audio=False, video=True):
172 """
173 !!! warning
174 **Deprecated: Use `request_stream()` instead.**
175
176 This method is retained for backwards compatibility but will be
177 removed in a future release. Please use `request_stream()` instead.
178 """
179 return await cls.request_stream(audio=audio, video=video)
180
181 async def get_stream(self):
182 """

Callers 4

load_imageFunction · 0.80
mainFunction · 0.80
main.pyFile · 0.80

Calls 1

request_streamMethod · 0.80

Tested by 1