Download src/query/compiler/base.py from DataEyond/Agentic-Service-Data-Eyond-Catalog: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/717452f69ec32394dea2a8fc11aba47eebe5bc53/src/query/compiler/base.py
- Command line
-
hf download hf://spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog@717452f69ec32394dea2a8fc11aba47eebe5bc53/src/query/compiler/base.py
-
curl -L -o base.py https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/717452f69ec32394dea2a8fc11aba47eebe5bc53/src/query/compiler/base.py
317 Bytes
| """BaseCompiler — contract for IR → executable shape (SQL string or pandas chain).""" | |
| from abc import ABC, abstractmethod | |
| from ..ir.models import QueryIR | |
| class BaseCompiler(ABC): | |
| """Subclasses: SqlCompiler, PandasCompiler.""" | |
| def compile(self, ir: QueryIR) -> object: | |
| ... | |