Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /IPython /utils /sentinel.py
| """Sentinel class for constants with useful reprs""" | |
| # Copyright (c) IPython Development Team. | |
| # Distributed under the terms of the Modified BSD License. | |
| class Sentinel(object): | |
| def __init__(self, name, module, docstring=None): | |
| self.name = name | |
| self.module = module | |
| if docstring: | |
| self.__doc__ = docstring | |
| def __repr__(self): | |
| return str(self.module)+'.'+self.name | |
Xet Storage Details
- Size:
- 421 Bytes
- Xet hash:
- 2dd76b4306464b1c58867792b7a8508c5f271b531ec6893fdc3dc22894c3719d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.