Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Create all tables stored in this metadata.

Conditional by default, will not attempt to recreate tables already
present in the target database.

:param bind:
  A :class:`.Connectable` used to access the
  database; if None, uses the existing bind on this ``MetaData``, if
  any.
(more...)

src/l/a/latte-2.0/latte/latte.py   latte(Download)
        engine = create_engine(self.config.get('stats_db'))
        self.session = sessionmaker(bind=engine)
        Base.metadata.create_all(engine)
 
        self.tracker = TimeTracker(config=self.config, session=self.session())