Skip to content

Conversation

@andreaonofrei01
Copy link

Add init.py bridge that discovers and loads the installed mistral-workflows
package, enabling from mistralai.workflows import ...

@louis-sanna-dev louis-sanna-dev force-pushed the andrea.onofrei/workflow-sdk-patch branch from d600eb4 to 40f0d69 Compare January 9, 2026 10:25
Add optional dependency and bridge module that re-exports mistralai_workflows
as mistralai.workflows. Users can install with pip install mistralai[workflows].

- Add workflows optional dependency (Python 3.12+ only)
- Add src/mistralai/workflows/__init__.py bridge using sys.modules aliasing
- Update .genignore to protect bridge from speakeasy regeneration
- Add pyright ignore for optional dependency
- Add mypy ignore for mistralai_workflows module
@louis-sanna-dev louis-sanna-dev force-pushed the andrea.onofrei/workflow-sdk-patch branch from 40f0d69 to 845ce11 Compare January 9, 2026 10:33
@louis-sanna-dev louis-sanna-dev changed the title added bridge for mistralai.workflows namespace package [DO NOT MERGE][POC] feat(mistralai): add bridge for workflow sdk Jan 9, 2026
@louis-sanna-dev
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants