Re: [Sqlalchemy-tickets] [sqlalchemy] #2816: clean up identity_key util documentation
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-08-30 22:34:43
|
#2816: clean up identity_key util documentation
--------------------------------+----------------------------------
Reporter: zzzeek | Owner: zzzeek
Type: defect | Status: new
Priority: high | Milestone: 0.8.xx
Component: documentation | Severity: minor - half an hour
Resolution: | Keywords:
Progress State: in queue |
--------------------------------+----------------------------------
Comment (by zzzeek):
also figure out this part:
{{{
#!diff
@@ -196,6 +199,7 @@ def identity_key(*args, **kwargs):
elif len(args) == 2:
class_, ident = args
elif len(args) == 3:
+ # XXX: How can this work? I'd expect a ValueError here --
Torsten Landschoff
class_, ident = args
else:
raise sa_exc.ArgumentError("expected up to three "
}}}
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2816#comment:1>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|