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/ae50194de0d72e5b8f551bb4325bec31bfa803be/src/query/compiler/base.py
- Command line
-
hf download hf://spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog@ae50194de0d72e5b8f551bb4325bec31bfa803be/src/query/compiler/base.py
-
curl -L -o base.py https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/ae50194de0d72e5b8f551bb4325bec31bfa803be/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: | |
| ... | |