Comments (2)
Arg. I was accidentally editing files in the debian directory so the config changes I expected weren't happening. Sorry for the false alarm.
from baseplate.py.
That check is working on the raw string, not the already-parsed version, so truthiness should just be if the string is empty or not. AFAICT this does work as intended with booleans:
>>> Optional(Boolean, default=None)("")
>>> Optional(Boolean, default=None)("True")
True
>>> Optional(Boolean, default=None)("False")
False
Do you have an example of it failing?
from baseplate.py.
Related Issues (20)
- Some errors aren't useful for debugging
- get_all_experiment_names doesn't return experiments from self._global_cache HOT 2
- Switch to TCompactProtocol for thrift clients HOT 2
- KombuQueueConsumerFactory should have a default value for prefetch_count
- Ensure all integer fields in JSON logging are encoded as strings HOT 1
- Can baseplate play with bottlepy? HOT 2
- Rename context.trace -> context.span
- Message queues, broken sidecars, and OOMs
- Update tutorial for 2.0
- Secret Fetcher Sidecar Lacks Signal Handling HOT 4
- Warn when choosing invalid metric names HOT 1
- Changing the body of a response object after the baseplate tween has run causes no content to be returned HOT 2
- Prevent different Cassandra client contexts from using the same ExecutionProfile object
- bug in login function HOT 1
- Update rediscluster client to v2.1.3 HOT 3
- Should kafka message pump be outside server span?
- Queues Should Set O_NONBLOCK HOT 2
- Consider BaseplateError exceptions with code=5xx an error for span accounting
- Unable to create streaming response from http requests client
- Typing annotation issues in frameworks/queue_consumers/kafka.py:_BaseKafkaQueueConsumerFactory::new
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 baseplate.py.