> Am 11.05.2016 um 17:38 schrieb Mike Bayer :
>
> On 05/11/2016 03:39 AM, Tim-Christian Mundt wrote:
>> Ok, a complete MCVE looks like that:
>>
>>
>> from sqlalchemy import Column, ForeignKey, Integer, String, create_engine,
>> event
>> from
On 05/11/2016 03:39 AM, Tim-Christian Mundt wrote:
Ok, a complete MCVE looks like that:
from sqlalchemy import Column, ForeignKey, Integer, String, create_engine, event
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import backref, relationship, sessionmaker
Ok, a complete MCVE looks like that:
from sqlalchemy import Column, ForeignKey, Integer, String, create_engine, event
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import backref, relationship, sessionmaker
Base = declarative_base()
class Entity(Base):
On 05/03/2016 06:28 PM, Tim-Christian Mundt wrote:
I have entities which I’d like to tag with tags from a vocabulary. The
associations between entities and tags are implemented with „manual M:N“,
because they carry more information.
class Entity(Base):
id = Column(Integer,
I have entities which I’d like to tag with tags from a vocabulary. The
associations between entities and tags are implemented with „manual M:N“,
because they carry more information.
class Entity(Base):
id = Column(Integer, primary_key=True)
tags = relationship('TagAssociation',