Buckets:

download
raw
763 Bytes
from .grammar_manager_contract import GrammarManagerContract
class GrammarManagerStub(GrammarManagerContract):
"""Stub implementation for grammar manager"""
@staticmethod
def add_grammar_source(_language: str, _repo_url: str) -> bool:
"""Stub returns False"""
return False
@staticmethod
def fetch_grammars(_languages: list[str] | None = None) -> dict[str, bool]:
"""Stub returns empty dict"""
return {}
@staticmethod
def compile_grammars(_languages: list[str] | None = None) -> dict[
str,
bool,
]:
"""Stub returns empty dict"""
return {}
@staticmethod
def get_available_languages() -> set[str]:
"""Stub returns empty set"""
return set()

Xet Storage Details

Size:
763 Bytes
·
Xet hash:
a4908eb5fef7804aadc33226285eedbda1cca5ee6a6be17ab6b6cabea17f042d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.