<p dir="auto"><strong>Migrated issue, originally created by David Lord (<a href="https://github.com/davidism">@davidism</a>)</strong></p>
<p dir="auto"><code class="notranslate">as_declarative</code> has been removed from the top level module between 0.9.8 and 0.9.9.  This no longer works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy.ext.declarative import as_declarative"><pre class="notranslate"><code class="notranslate">from sqlalchemy.ext.declarative import as_declarative
</code></pre></div>
<p dir="auto">Instead, this is required:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy.ext.declarative.api import as_declarative"><pre class="notranslate"><code class="notranslate">from sqlalchemy.ext.declarative.api import as_declarative
</code></pre></div>
<p dir="auto">This seems to be an unintended change, as there's no reason for it to have been removed, and there's no mention in the changelog.</p>
<p dir="auto">Discovered while answering <a href="http://stackoverflow.com/a/29083190/400617" rel="nofollow">this Stack Overflow question</a>.</p>
<p dir="auto"><strong>Migrated issue, originally created by Eben Freeman (<a href="https://github.com/emfree">@emfree</a>)</strong></p>
<p dir="auto">Hi,<br>
Looks like <code class="notranslate">sqlalchemy.ext.declarative.__init__.py</code> no longer imports <code class="notranslate">as_declarative</code> in 0.9.9. Not a major problem for us, but seems likely to be a typo in the release, rather than an intentional change?</p>