Download venv/lib/python3.12/site-packages/markdown_it/_compat.py from caddrlhst/grtest: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/caddrlhst/grtest/resolve/main/venv/lib/python3.12/site-packages/markdown_it/_compat.py
- Command line
-
hf download hf://spaces/caddrlhst/grtest/venv/lib/python3.12/site-packages/markdown_it/_compat.py
-
curl -L -o _compat.py https://huggingface.co/spaces/caddrlhst/grtest/resolve/main/venv/lib/python3.12/site-packages/markdown_it/_compat.py
246 Bytes
| from __future__ import annotations | |
| from collections.abc import Mapping | |
| import sys | |
| from typing import Any | |
| DATACLASS_KWARGS: Mapping[str, Any] | |
| if sys.version_info >= (3, 10): | |
| DATACLASS_KWARGS = {"slots": True} | |
| else: | |
| DATACLASS_KWARGS = {} | |