Commit bb4c80b0 authored by Martin Šlouf's avatar Martin Šlouf

slighly change behaviour of `Dao.get`

parent 58a22ea8
# -*- mode: org -*-
# Time-stamp: < README.org (2020-06-04 10:03) >
# Time-stamp: < README.org (2020-08-25 21:48) >
#+TITLE: README.txt
#+AUTHOR: martinslouf@sourceforge.net
#+OPTIONS: ^:nil
......@@ -145,6 +145,11 @@ Python test runner ~nosetests~.
* Release notes
** 0.7.5.1
- slightly change behaviour of `Dao.get` method
** 0.7.5
- support for pytest framework
......
......@@ -20,30 +20,31 @@ _________________
.. 5.1 Examples
.. 5.2 Test suite
6 Release notes
.. 6.1 0.7.5
.. 6.2 0.7.4.4.1
.. 6.3 0.7.4.4
.. 6.4 0.7.4.3
.. 6.5 0.7.4.2
.. 6.6 0.7.4.1
.. 6.7 0.7.4
.. 6.8 0.7.3
.. 6.9 0.7.2
.. 6.10 0.7.1
.. 6.11 0.7.0
.. 6.12 0.6.2
.. 6.13 0.6.1
.. 6.14 0.6.0
.. 6.15 0.5.2
.. 6.16 0.5.1
.. 6.17 0.5.0
.. 6.18 0.4.0
.. 6.19 0.3.0
.. 6.20 0.2.2
.. 6.21 0.2.1
.. 6.22 0.2.0
.. 6.23 0.1.1
.. 6.24 0.1.0
.. 6.1 0.7.5.1
.. 6.2 0.7.5
.. 6.3 0.7.4.4.1
.. 6.4 0.7.4.4
.. 6.5 0.7.4.3
.. 6.6 0.7.4.2
.. 6.7 0.7.4.1
.. 6.8 0.7.4
.. 6.9 0.7.3
.. 6.10 0.7.2
.. 6.11 0.7.1
.. 6.12 0.7.0
.. 6.13 0.6.2
.. 6.14 0.6.1
.. 6.15 0.6.0
.. 6.16 0.5.2
.. 6.17 0.5.1
.. 6.18 0.5.0
.. 6.19 0.4.0
.. 6.20 0.3.0
.. 6.21 0.2.2
.. 6.22 0.2.1
.. 6.23 0.2.0
.. 6.24 0.1.1
.. 6.25 0.1.0
7 TODO Todo list [2/9]
......@@ -187,7 +188,13 @@ _________________
6 Release notes
===============
6.1 0.7.5
6.1 0.7.5.1
~~~~~~~~~~~
- slightly change behaviour of `Dao.get` method
6.2 0.7.5
~~~~~~~~~
- support for pytest framework
......@@ -197,26 +204,26 @@ _________________
unlocks most usefull features)
6.2 0.7.4.4.1
6.3 0.7.4.4.1
~~~~~~~~~~~~~
- hotfix for exception in __str__() method
6.3 0.7.4.4
6.4 0.7.4.4
~~~~~~~~~~~
- improve exception __str__ method
6.4 0.7.4.3
6.5 0.7.4.3
~~~~~~~~~~~
- Entity dao now supports domain classes derived from summer Entity
and/or sqlalchemy declarative base
6.5 0.7.4.2
6.6 0.7.4.2
~~~~~~~~~~~
- add generic engine_kwargs to session provider that are passed to
......@@ -226,28 +233,28 @@ _________________
generic engine_kwargs to tune engine settings
6.6 0.7.4.1
6.7 0.7.4.1
~~~~~~~~~~~
- fix access to local bound connection -- use the connection of the
underlying session, not a new connection from engine
6.7 0.7.4
6.8 0.7.4
~~~~~~~~~
- support for mixing declarative and classical SQLAlchemy mapping
- fix LDAP tests
6.8 0.7.3
6.9 0.7.3
~~~~~~~~~
- fix requirements specification
6.9 0.7.2
~~~~~~~~~
6.10 0.7.2
~~~~~~~~~~
- producer/consumer refactor (producer/consumer/mediator)
- update copyright info
......@@ -255,7 +262,7 @@ _________________
exception is not consumed anymore)
6.10 0.7.1
6.11 0.7.1
~~~~~~~~~~
- upgrade dependencies (ldap3)
......@@ -264,7 +271,7 @@ _________________
- update Copyright information
6.11 0.7.0
6.12 0.7.0
~~~~~~~~~~
- change summer configuration from text to Python config
......@@ -274,7 +281,7 @@ _________________
singleton)
6.12 0.6.2
6.13 0.6.2
~~~~~~~~~~
- support for direct access of database connection
......@@ -283,14 +290,14 @@ _________________
- some doc fixes
6.13 0.6.1
6.14 0.6.1
~~~~~~~~~~
- fix package homepage url ([https://py-summer.sourceforge.net/] ->
[http://py-summer.sourceforge.net/])
6.14 0.6.0
6.15 0.6.0
~~~~~~~~~~
- Python 3 type annotations added
......@@ -302,7 +309,7 @@ _________________
- Registered on PyPI
6.15 0.5.2
6.16 0.5.2
~~~~~~~~~~
- migration to Python 3
......@@ -313,14 +320,14 @@ _________________
attribute to LDAP DAO self.base instead of self.session.base
6.16 0.5.1
6.17 0.5.1
~~~~~~~~~~
- Documentation update
- SourceForge.net release automation
6.17 0.5.0
6.18 0.5.0
~~~~~~~~~~
- migration from subversion to git, thanks to great
......@@ -329,7 +336,7 @@ _________________
- improved logging
6.18 0.4.0
6.19 0.4.0
~~~~~~~~~~
- Source documentation revisited.
......@@ -340,7 +347,7 @@ _________________
- New utility class Printable for object pretty printing.
6.19 0.3.0
6.20 0.3.0
~~~~~~~~~~
- some minor fixes (DaoSupport.query attribute, export of
......@@ -365,20 +372,20 @@ _________________
aop code
6.20 0.2.2
6.21 0.2.2
~~~~~~~~~~
- fix with DaoSupport.query attribute
6.21 0.2.1
6.22 0.2.1
~~~~~~~~~~
- packaging bug fix regarding example 02_template_project
- dao support extended with more utility methods
6.22 0.2.0
6.23 0.2.0
~~~~~~~~~~
- LDAP support added based on simillar concepts as SQL support
......@@ -386,7 +393,7 @@ _________________
- comprehensive example 02_template_project created
6.23 0.1.1
6.24 0.1.1
~~~~~~~~~~
Just a minor release. Added admin functionality to automate the
......@@ -394,7 +401,7 @@ _________________
include subversion 'Id' keyword.
6.24 0.1.0
6.25 0.1.0
~~~~~~~~~~
This is initial release. Contains no overall documentation, but one
......
......@@ -19,7 +19,7 @@
from setuptools import setup, find_packages
VERSION = '0.7.5'
VERSION = '0.7.5.1'
DESCRIPTION = """Summer -- light weight Python 3 application framework"""
LONG_DESCRIPTION = """Summer is light weight Python 3 application framework to support generic
application development. It provides support for business object
......
......@@ -50,8 +50,8 @@ into `summer` namespace.
"""
__version__ = "0.7.5"
__date__ = "2020-05-23"
__version__ = "0.7.5.1"
__date__ = "2020-08-25"
from summer.aop import (
transactional,
......
......@@ -176,7 +176,7 @@ class EntityDao(Dao):
Entity: entity instance or raise :py:class:`NoResultFound` if
none is found
"""
return self.query.populate_existing().get(ident)
return self.query.get(ident)
def save(self, entity: E) -> E:
"""Save an entity.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment