ai-cfia / ai-cfia/fertiscan-pipeline

As a user, I want to pass custom Pydantic schema to the pipeline

Aperta
#58 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description

**Context**
Currently, the Pydantic model schema used in the pipeline is statically defined in the repo. This limits flexibility for users who may need to customize the schema without modifying the repository.

**Problem Statement**
The current implementation requires the pipeline to use predefined Pydantic schemas embedded in the code. This restricts external customization and adaptability. Users should be able to pass their own Pydantic schemas at runtime, allowing for more flexible integration and the ability to work with different data models.

## Acceptance Criteria

- Refactor the pipeline to accept a user-defined Pydantic schema at runtime.
- Provide fallback behavior to use the current static schema if no custom schema is passed, maintaining backward compatibility.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.