Hi,
Looks like the autogen_context parameter has changed type recently.
I'm getting this exception:
Traceback (most recent call last):
File "/home/fayaz/Programming/weaver-env/bin/weaver", line 9, in
load_entry_point('weaver==2.12.1', 'console_scripts', 'weaver')()
File
ut:
This is a global: None
This is not a global:
On Wednesday, September 2, 2015 at 8:53:21 PM UTC+5:30, Michael Bayer wrote:
>
>
>
> On 9/2/15 3:13 AM, Fayaz Yusuf Khan wrote:
>
> Hi,
> I'm seeing this weird issue where several global variables in env.py are
> set as n
On Saturday 13 Jun 2015 7:42:51 AM Mike Bayer wrote:
if that is the only test failing I wouldn't worry too hard.if you
look at the test, you'll see this comment:
# fails on newer versions of pysqlite due to unusual memory behvior
# in pysqlite itself. background at:
#
On Sunday 31 May 2015 11:36:12 PM Mike Bayer wrote:
you can send in pysqlcipher3 to create_engine() using the dbapi
argument:
import pysqlcipher3
e = create_engine(sqlite+pysqlcipher:///file.db, dbapi=pysqlcipher3)
feel free to submit a PR that returns this DBAPI from the dbapi method
Alright, thanks!
I would try to submit the PR. But it does look like a transitional package
to me. How do we generally handle such upstream changes anyway?
On Monday, June 1, 2015 at 9:06:20 AM UTC+5:30, Michael Bayer wrote:
On 5/31/15 8:58 PM, Fayaz Yusuf Khan wrote:
On Sunday 31 May
On Sunday 31 May 2015 11:06:32 AM Mike Bayer wrote:
pysqlcipher is right here:
http://docs.sqlalchemy.org/en/rel_1_0/dialects/sqlite.html#module-sqlalchemy
.dialects.sqlite.pysqlcipher
SQLAlchemy supports Python 2K and Python 3K in place though the above
dialect has probably not been
Hi,
pysqlcipher3 is a Python3 port for pysqlcipher (for SQLite). Does SQLA
currently have support for this? (I wasn't able to get it running for my
project.)
If not, any chances it will, in the future?
Thanks.
--
You received this message because you are subscribed to the Google Groups
On Tuesday, May 26, 2015 at 11:04:34 PM UTC+5:30, Jonathan Vanasco wrote:
It is incredibly non-standard to have more than one transaction within a
given request. It is also relatively non-standard to explicitly manage
transactions in the application code.
I do both of those (the former
Hi,
On Tuesday, May 19, 2015 at 7:41:45 PM UTC+5:30, Michael Bayer wrote:
http://techspot.zzzeek.org/2011/05/17/magic-a-new-orm/
I had tried this one before but it looked like those columns were never
added to the underlying table.
--
You received this message because you are subscribed
into the column
return TruncatingComparator(cls._phone_number)
@phone_number.expression ???
--
Fayaz Yusuf Khan
Cloud architect, Dexetra SS, India
fayaz.yusuf.khan_AT_gmail_DOT_com, fayaz_AT_dexetra_DOT_com
+91-9746-830-823
--
You received this message because you are subscribed to the Google
#Rewrittenrelationshipmechanics
.
--
Fayaz Yusuf Khan
Cloud architect, Dexetra SS, India
fayaz.yusuf.khan_AT_gmail_DOT_com, fayaz_AT_dexetra_DOT_com
+91-9746-830-823
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy
sane.
--
Fayaz Yusuf Khan
Cloud architect, Dexetra SS, India
fayaz.yusuf.khan_AT_gmail_DOT_com, fayaz_AT_dexetra_DOT_com
+91-9746-830-823
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy
/sqlalchemy/event.py, line 40, in listen
(identifier,target))
sqlalchemy.exc.InvalidRequestError: No such event 'before_execute' for
target 'sqlalchemy.engine.base.Connection object at 0x2a31450'
- --
Fayaz Yusuf Khan
Cloud architect, Dexetra SS, India
fayaz.yusuf.khan_AT_gmail_DOT_com
common one to override,
the 'title' attribute, underscore prefixed. That'll solve the problem
at hand.
This choice doesn't seem so extensible. Maybe, you should stick to the
Special cases aren't special enough to break the rules. rule?
import this
I have learnt this the hard way.
--
Fayaz Yusuf
'.
I'm going to work around this by adding another ondelete='CASCADE' for User-A
--
Fayaz Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
from sqlalchemy import *
from sqlalchemy.ext.declarative import
migrate script.
--
Fayaz Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
signature.asc
Description: This is a digitally signed message part.
On Saturday 28 Jan 2012 6:05:51 PM Michael Bayer wrote:
SQLAlchemy 0.7.5 is now available.
Where's the documentation (pdf)? Or has nothing changed there since 0.7.4?
http://media.readthedocs.org/pdf/sqlalchemy/latest/sqlalchemy.pdf still gives
the older pdf.
--
Fayaz Yusuf Khan
Cloud developer
persists for single table inheritance too.
You can see that I'm using Python 2.7(.2)
--
Fayaz Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
from sqlalchemy import *
from sqlalchemy.ext.declarative
request and for the same request
access data from the cache
There's a beaker caching example in SQLA.
http://docs.sqlalchemy.org/en/latest/orm/examples.html#beaker-caching
I myself am looking forward to implement this pattern using memcached in my
own app.
--
Fayaz Yusuf Khan
Cloud developer
Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823diff -r 2b66b5abf755 lib/sqlalchemy/ext/declarative.py
--- a/lib/sqlalchemy/ext/declarative.py Thu Dec 01 14:21:43 2011 -0500
+++ b/lib/sqlalchemy/ext
that entry in primary key column.
Even the restrict is also not working.
Can you provide example test code of what you were trying to acheive? We may
be able to work from there.
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
), it
would be a little more of the public API.
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
signature.asc
Description: This is a digitally signed message part.
'
It works if I specify addresses=[], but that sounds like too much
work :P Is there a workaround for this? Thanks.
You could simply override the __init__ method and pass a default argument.
That would simplify your object constructions... Hope that helps.
--
Fayaz Yusuf Khan
Cloud developer
||makes sense?
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
signature.asc
Description: This is a digitally signed message part.
that.Can you use table.add_constraint(fk) instead
of _set_parent() ?
On Aug 5, 2011, at 1:34 AM, Fayaz Yusuf Khan wrote:
So I had been working on this tiny project now and then. And here's the
poc. http://paste.pound-python.org/show/10578/
I think I'm somewhat misusing the _set_parent
So I had been working on this tiny project now and then. And here's the poc.
http://paste.pound-python.org/show/10578/
I think I'm somewhat misusing the _set_parent() here though.
On Sunday, July 24, 2011 06:52:45 PM Michael Bayer wrote:
On Jul 24, 2011, at 8:39 AM, Fayaz Yusuf Khan wrote
? ;-)
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
signature.asc
Description: This is a digitally signed message part.
On Saturday 23 Jul 2011 8:24:31 PM Michael Bayer wrote:
On Jul 23, 2011, at 7:54 AM, Fayaz Yusuf Khan wrote:
When C inherits from CMixin and Timeline, Python's method resolution is
going to put TMixin after Timeline, that is:
(class '__main__.C', class '__main__.CMixin', class
On Thursday, July 21, 2011 09:27:21 PM Michael Bayer wrote:
On Jul 21, 2011, at 10:48 AM, Michael Bayer wrote:
On Jul 21, 2011, at 2:11 AM, Fayaz Yusuf Khan wrote:
Hi,
I have this declarative table model:
http://paste.pound-python.org/show/9857/
The short answer is you can't do
.__version__ = '0.7.1'
And thanks in advance.
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
from sqlalchemy import Column, String, ForeignKeyConstraint, Integer
from sqlalchemy.ext.declarative
wrong.
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
signature.asc
Description: This is a digitally signed message part.
(..., name='NewParent',...))
But on commit, it raises an IntegrityError.
How can I make SQLA automatically insert a Parent in this case?
--
Fayaz Yusuf Khan
Cloud developer and designer
Dexetra SS, Kochi, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
32 matches
Mail list logo