Giter Site home page Giter Site logo

aetycoon's People

Contributors

alkis avatar arachnid avatar dound avatar dw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aetycoon's Issues

Missing license

Hey,
Maybe I'm missing something, but aetycoon doesn't include a license file or notice. Could you please add one?

@DerivedProperty(name='sha1') doesn't set the correct name

from the docstring,

class DatastoreFile(db.Model):
... @DerivedProperty(name='sha1')
... def hash(self):
... return hashlib.sha1(self.data).hexdigest()

I would expect the property to be named 'sha1', not 'hash'. But actually it is 'hash',

file.hash
'943a702d06f34599aee1f8da8ef9f7296031d699'

file.sha1 will raise an AttributeError.

Make use of validator

If people set a validator in aetycoon property constructors, it is never used because validate() is never called. Properties should call validate() in get_value_for_datastore() to honor custom validators.

When property is empty, throws error

I am having some trouble using the transform property type.
In the case that the property being transformed is None or '', then this line throws an error:
if last_val == current_val:
return getattr(model_instance, self.__transformed_attr_name()) <- throws 'AttributeError: 'Foo object has no attribute '_derivedField' '

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.