alchy
1.5.1
  • Installation
  • Quickstart
  • Versioning
  • Upgrading
    • To v1.0.0
  • API Reference
  • License
  • Changelog
  • Authors
  • How to Contribute
  • Kudos
 
alchy
  • Docs »
  • Upgrading
  • View page source

Upgrading¶

To v1.0.0¶

The @classproperty decorator has been eliminated and replaced with @classmethod in v1.0.0. This means that the previous alchy.model.ModelBase class properties must now be accessed via method calls:

  • alchy.model.ModelBase.session()
  • alchy.model.ModelBase.primary_key()
  • alchy.model.ModelBase.primary_keys()
  • alchy.model.ModelBase.primary_attrs()
  • alchy.model.ModelBase.attrs()
  • alchy.model.ModelBase.descriptors()
  • alchy.model.ModelBase.relationships()
  • alchy.model.ModelBase.column_attrs()
  • alchy.model.ModelBase.columns()
Next Previous

© Copyright 2014, Derrick Gilland. Last updated on Mar 13, 2016.

Built with Sphinx using a theme provided by Read the Docs.