Re: [sqlalchemy] SQLAlchemy enum in external file

2017-10-20 Thread TazMainiac
On Fri, Oct 20, 2017 at 3:58 AM, Simon King wrote: > This is a subtle python gotcha based on how the import system works. > It doesn't have anything to do with SQLAlchemy. > >

Re: [sqlalchemy] SQLAlchemy enum in external file

2017-10-19 Thread TazMainiac
On Thu, Oct 19, 2017 at 2:25 PM, Jonathan Vanasco wrote: > On Thursday, October 19, 2017 at 11:55:49 AM UTC-4, Taz Mainiac wrote: >> >> So - a morning spent googling does not turn up any information about >> Python classes having a different id depending on context (script

Re: [sqlalchemy] SQLAlchemy enum in external file

2017-10-19 Thread TazMainiac
On Wed, Oct 18, 2017 at 9:08 PM, Mike Bayer wrote: > the example calls the "myoper" python file in two different contexts, > resulting in two different MyStatus enumeration objects. Calling > "python myoper.py" invokes "myoper" as a plain Python script, sets up >