Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /rich /_stack.py
| from typing import List, TypeVar | |
| T = TypeVar("T") | |
| class Stack(List[T]): | |
| """A small shim over builtin list.""" | |
| def top(self) -> T: | |
| """Get top of stack.""" | |
| return self[-1] | |
| def push(self, item: T) -> None: | |
| """Push an item on to the stack (append in stack nomenclature).""" | |
| self.append(item) | |
Xet Storage Details
- Size:
- 351 Bytes
- Xet hash:
- 03934b005e888fbaaa77021d9e37ea0bbb584f8ec913b0fc589f74b2c63b8fee
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.