Comments (3)
Agreed. Been meaning to do that. I think we just add a BytesField
and then there's no need for a non-unicode field.
from springfield.
Actually it seems like currently StringField won't work with binary data, any bytes that aren't ASCII will result in a UnicodeDecodeError.
from springfield.
So StringField
shouldn't be used for binary.
from springfield.
Related Issues (16)
- Need to implement __hash__ so entities work with sets HOT 4
- Can't use a FlexEntity as the "kwargs" part of a call HOT 1
- springfield does not play nice with pytest plugins
- UrlField with lowercase username and password
- Entities do not play nicely with @property setters: AttributeError
- `FlexEntity.flatten()` will convert unknown types to `str`
- Make a public method to add type maps for custom fields
- Can't use @propertys on Entities
- Setting `Empty` on an Entity field fails
- ThirdPartyInfoEntity should use DateTimeField for its release_date HOT 1
- FlexEntity does not support __deepcopy__
- When field has a date with tz and you try to update without a timezone, springfield should catch and treat as a changed value instead of raising an error
- Allow entity field composition without having to reference .field
- Alias does not seem to work
- Default field values are not included in jsonify() output
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 springfield.