← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1943155] [NEW] Replace "Inspector.from_engine()" with "sqlalchemy.inspect()"

 

Public bug reported:

Since SQLAlchemy 1.4, the method "Inspector.from_engine()" is
deprecated.

Error message:
"The from_engine() method on Inspector is deprecated and will be removed
in a future release.  Please use the sqlalchemy.inspect() function on an
Engine or Connection in order to acquire an Inspector. (deprecated
since: 1.4)"

Logs snippet: https://paste.opendev.org/show/809193/

** Affects: neutron
     Importance: Medium
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
   Importance: Undecided => Low

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Changed in: neutron
   Importance: Low => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1943155

Title:
  Replace "Inspector.from_engine()" with "sqlalchemy.inspect()"

Status in neutron:
  New

Bug description:
  Since SQLAlchemy 1.4, the method "Inspector.from_engine()" is
  deprecated.

  Error message:
  "The from_engine() method on Inspector is deprecated and will be removed
  in a future release.  Please use the sqlalchemy.inspect() function on an
  Engine or Connection in order to acquire an Inspector. (deprecated
  since: 1.4)"

  Logs snippet: https://paste.opendev.org/show/809193/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1943155/+subscriptions



Follow ups