Comments (2)
Hello @andysnowden!
Thank you for your this issue, it feels weird to have feedback even though the code is very much in alpha ^^'
You are right about this, I have quickly debugged your example and it is an error on my side: whether I find a key in Vault or not I return it in the values dict that Pydantic uses to populate the model, sometimes with a None
value. Pydantic then validates this dict and because None
is not a valid type, it gets angry ^^
I will see to fix this, or you can do a PR if you want 😉 (if you look at vault_settings.py
I try to get the Vault key, log a message if it is not found, but I add it to the dict in any case; this should only happen if we found a value).
from pydantic-vault.
Hey @andysnowden!
I fixed the issue and published version 0.4.1a1
on PyPI, try it and tell me how it goes!
from pydantic-vault.
Related Issues (11)
- Support Approle authentication
- AppRole authentication method does not work HOT 1
- Skip certificate verification or pass vault cert. HOT 2
- Confusing priority of vault_url value sources HOT 7
- Compatibility with pydantic v2 HOT 11
- Support login/password authentication HOT 2
- Support Kubernetes authentication HOT 1
- Have a test suite HOT 1
- Add CI
- Relax dependencies constraints HOT 1
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 pydantic-vault.