Skip to content

Develop#16

Merged
wilmerm merged 3 commits intomainfrom
develop
Jan 30, 2025
Merged

Develop#16
wilmerm merged 3 commits intomainfrom
develop

Conversation

@wilmerm
Copy link
Owner

@wilmerm wilmerm commented Jan 30, 2025

This pull request includes several changes to the Alanube Python API library, focusing on improving documentation, updating the version, and refactoring the Alanube class to simplify the code and enhance functionality.

Documentation and Setup:

  • README.md: Added detailed instructions for setting up the development environment, running tests, and building and publishing the library.

Version Updates:

Refactoring the Alanube Class:

  • alanube/do/__init__.py: Removed redundant methods and attributes, and replaced them with direct assignments from AlanubeAPI. Added new methods to handle document retrieval and status checks. Deprecated the get_document_status method in favor of get_document. [1] [2] [3] [4]

Error Handling:

Type Definitions:

  • alanube/do/types.py: Added new type definitions using TypedDict for various responses, including Metadata, DGIIResponse, DocumentResponse, and ReceivedDocumentsResponse.

Wilmer Martinez added 3 commits January 27, 2025 06:47
* Agregar funciones utilitarias para construir URLs y manejar conversiones de formato; marcar funciones como obsoletas

* Agregar definiciones de tipos utilizando TypedDict para mejorar la estructura de datos en las respuestas de la API

* Actualizar versión a 0.4.0 y mejorar la documentación en README; agregar configuración para flake8

* Agregar .test.py a .gitignore y actualizar requirements-dev.txt para incluir python-dotenv
@wilmerm wilmerm added the enhancement New feature or request label Jan 30, 2025
@wilmerm wilmerm self-assigned this Jan 30, 2025
@wilmerm wilmerm merged commit 965f881 into main Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant