Repository navigation
0.3.1
Published to PyPI: https://pypi.org/project/contractex/0.3.1/
Changes
Fixed
- Resolved all 41 mypy type-check errors across 11 source files that caused CI failures after the 0.3.0 release
rag/pipeline.py: addedcastimport; correctly castloader.load()return toLegalDoc; castquery()return inquery_async; fixedchunk.text→chunk(chunker returnslist[str], not chunk objects)storage/graph.py: widened_graphannotation fromAny | NonetoAny(always initialised in__init__)privacy/detector.py: widened_presidio_analyzerannotation fromAny | NonetoAnyprivacy/profile.py: usedcast(Literal[...], ...)forllm_routingassignment inmodel_post_inittasks/ner.py: correctedLegalNERkeyword argumentmodel→model_nametasks/classification.py: removed non-existentmodel_namekwarg fromCUADClassifierconstructorcore/extractors.py: made_create_providera@staticmethod, resolving unbound-methodcall-argerrors intimeline,summarization,obligations, andcomparisontask modules- Installed
types-requestsstub package to resolveimport-untypedmypy error inloaders/source_adapter.py