Comments (3)
Working on it, almost fixed. The issue is that Pydantic 2 wants default declared when a field is optional. Making a field optional no longer implicitly makes its default value None.
from studio.
Yup! Been there, done that. Keep in mind that you also have to update your mypy
configuration so that it understands this, basically in pyproject.toml
you can put:
[tool.mypy]
plugins = "pydantic.mypy"
See https://docs.pydantic.dev/latest/integrations/mypy/#enabling-the-plugin
from studio.
Thanks for the hint @dhdaines ! mypy told me most of the fixes I had to do to make things work, way easier!
from studio.
Related Issues (20)
- When the g2p for a word is empty, assemble should return an error HOT 1
- Refactoring idea: change web_api so it does not import soundswallower
- Web-api: set the CORS origin from a .env or parameter HOT 2
- remove Material+Icon font import once the next Web-C release is done
- Strange IndexError caused by [SMACK] HOT 2
- Fatal error: ( ̕" ) Any time there's a piece of punctuation/diacritic hanging out on its own not adjacent to a word
- Revert to using only published versions of g2p
- bump lxml to 4.9.4 to support Python 3.11 and 3.12 on Windows HOT 1
- "cannot find noise dict" warning is always there, so it's just noise HOT 1
- Make a release!
- Can't install on Python 3.12, Ubuntu 22.04 due to broken editdistance package HOT 4
- Properly solve Python 3.12 compatibility before making the next release HOT 4
- Modify the conda instructions in README.md to say to create an env for RAS
- Change the publication workflow to be triggered by a tag push
- Convert the documentation in docs/ to mkdocs and mike
- web_api.py uses Pydantic but we don't declare the version we need, and we get deprecated warnings with Pydantic 2 HOT 1
- Update the fallback bundles in Studio CLI's `readalongs/text/`
- Making a single-file RA on a Mac with a .m4a file is broken
- CLI: when the user sets the title, create the offline HTML filename from the slugified title
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studio.