Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Data types and type annotations (#10)
* Adding stubs and endpoints for peppol and syntax endpoints * Fixing endpoints + adding server calls for tests * Adding failing tests for report/peppol endpoint * Added wellformedness testing initial * Breakdown of welformed tests * added .vscode folder to .gitignore * wrote tests for case sensitive wellformedness * updated comments * Writing endpoints for the server and stub functions * added some type definitions using pydantic's BaseModel * updated some functions and tests to make use of the types * renamed report.schema field to schemaEvaluation due to conflict with BaseModel attribute * changed server route to match interface and fixed runtime errors * simplified test server call * wellformedness tests * initial schema validation testing * fixed import * installed schema validation file and test xml invoice * updated type model and corrected server call return type * added stub returns to functions and fixed tests * fixed types in some functions * added example xml files and xsd file * moved file * added some schema tests * added additional TODOs * added additional type annotations and functions return stubs * added import statement * replaced | with Union in types for compatibility with python 3.8 * replaced list with List in types * commented out failing tests * fixed tests * moved test files to correct directory * fixed list adta type * fixed type * remove format from invoice type as they are all xml * implemented wellformedness * downloaded schema files * added implementation outline for schema validation * removed unnecessary files --------- Co-authored-by: Jeremy Traini <[email protected]> Co-authored-by: Ahona <[email protected]> Co-authored-by: dzl-i <[email protected]> Co-authored-by: RicardoAzzi <[email protected]>
- Loading branch information